 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
mmsemaj
Joined: 14 Dec 2004 Posts: 2
|
Posted: Tue Dec 14, 2004 6:46 am Text Color in a Netscape table. |
|
|
|
If I use the following code:
| Code: |
<html>
<body>
<table>
<tr>
<td bgcolor="green" style="color:yellow">Some Text</td>
</tr>
</table>
</body>
</html>
|
then Netscape 4.7 will show the table properly, with a green background and yellow text.
I need to have the table to be wider than the text, so I want to place a width parameter in the table tag. I'll use <table width=200> instead of <table>. When I do, the yellow text changes to black.
What am I doing wrong?!?!? |
|
kanenas

Joined: 14 Dec 2004 Posts: 191
|
Posted: Fri Jan 07, 2005 7:16 am |
|
|
|
Have you tried:
- Giving the table a border, rather than setting the width attribute
- Using CSS to set table width & cell bg color
It's entirely possible that NS4, when it applies the table width attribute, disables style for all elements in the table. If so, either of the above should work. |
|
mmsemaj
Joined: 14 Dec 2004 Posts: 2
|
Posted: Sat Jan 08, 2005 8:37 am |
|
|
|
| I worked around the issue first by simply using <font> tags around the text, instead of having it be a part of the table cell definition. I then ended up using a picture. Not exactly where I wanted to go, but I maintain control. Thank you for your suggestion! |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|