|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please tell me why this background color is not working in Netscape..
<td bgcolor="#660000" width="54%"></td> Here's the URL: http://pleasantbay.net/template.htm Actually, it was working yesterday. I'm not sure when it stopped. |
|
#2
|
|||
|
|||
|
Never mind..
I deleted that td cell, and stretched out the one that came before it. |
|
#3
|
|||
|
|||
|
hehe, that's a good workaround: delete whatever doesn't work... have to rememer that!
actually it's probably because ns doesn't bother displaying empty cells. i normally insert a 1*1pixel image or a space ( ). give it a try. [This message has been edited by RedFox (edited November 02, 2000).] [This message has been edited by RedFox (edited November 02, 2000).] |
|
#4
|
|||
|
|||
|
Right, I should've thunk of that; that's how I did bgcolors in the other td cells of the same page.
|
|
#5
|
|||
|
|||
|
Another alternative to using pixel gifs is to insert one celled tables into your cells
example:<td><table width="1" height="1" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td> The battle rages on where i work, but it would seem that that a page using this technique loads faster than one loaded with pixel gifs - it makes sense to me since the page dosent have to download images from the server...on the other hand the nesting issue comes into play - myself? i like the table technique better - i guess you'll have to judge for yourself. |
|
#6
|
|||
|
|||
|
I've never tried this before.. don't you use a non-breaking space between the table data cells?
I certainly agree with your viewpoint that no graphics to load means less load time of a page. |
|
#7
|
|||
|
|||
|
Hello,
Now Netscape 4.7 doesn't support bgcolor for table. We have to replace it by the background by assigning the image of the color equivalent to the bgcolor. For example: <td background=blue.gif></td> blue.gif -> the image with the bgcolor you need. Rashmi.B. -------------------------- <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Caper: Please tell me why this background color is not working in Netscape.. <td bgcolor="#660000" width="54%"></td> Here's the URL: http://pleasantbay.net/template.htm Actually, it was working yesterday. I'm not sure when it stopped. [/quote] |
|
#8
|
|||
|
|||
|
Obviously by the URL, I did get it working.
I used a transparent gif with the td cell set with a bgcolor. But my problem was more related to the width of td cell in relation to other td cells within that table. I don't exactly recall how I fixed it, except for the description above. <tr> <td colspan="12"><img src="graphics/transparent.gif" width="1" height="10"></td> </tr> <tr> <td colspan="12" bgcolor="#660000"><img src="graphics/transparent.gif" width="1" height="1"></td> </tr> <tr> <td colspan="12"><img src="graphics/transparent.gif" width="1" height="10"></td> </tr> I've never tried using your method, but I'll keep it in mind for next time.. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > bgcolor in Netscape td |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|