Topic: Silly? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9590" title="Pages that link to Topic: Silly? (Page 1 of 1)" rel="nofollow" >Topic: Silly? <span class="small">(Page 1 of 1)</span>\

 
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 01-14-2003 01:40

Hi, guys. I got an another question.
Do you see any problem following:
<html>
<table border=1 callpadding=10>
<tr>
<th>Fish</th>
<th>Invertebrates</th>
</tr>

<tr background="blue.jpg" >
<td>Guppy</td>
<td>Snail</td>
</tr>

<tr background="pink.gif" >
<td>Swordtail</td>
<td>Crayfish</td>
</tr>
</table>
</html>

It is supposed to be "colorful" table. But nothing happens.
Do you know why?

Hiroki Kozai

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-14-2003 01:43

I would try removing the background attributes from the TR tags and putting them in the TD tags. TR tags *never* have any attributes.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 01-14-2003 01:48

You might also tryi using a style sheet as opposed to using inline HTML styles. The style sheets are a bit easier to manage that the inline elements are.

They are also slowly being depricated, which makes it an even better reason to go with a CSS solutions as opposed to embedding inline elements.

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 01-14-2003 02:02

Hi, Slime, Hi, Warmage! It worked. Thanks a lot.
I am doing HTML tutorial from the web to improve HTML skill of myself.
It said something like:

<tr background="/images/devimages/sand.gif">
<td>Guppy</td>
<td>Snail</td>
</tr>

But Slime, you said that <tr> never be put images, right? Thanks for telling me that.
See ya.

Hiroki Kozai

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-14-2003 02:15

HirokiL You seem to be having table trouble. Could I recommend bitdamaged's excellent tables tutorial:
www.gurusnetwork.com/tutorials/html/tablestute_L1.html

___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu