SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Feb 15, 2001, 08:52 #1
- Join Date
- Aug 2000
- Location
- Thailand
- Posts
- 4,810
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
I am trying to create a presentation table, which has within it rows of differing colours (for heading levels). The way I have done it works fine in ie, but not in netscape (4.7).
I have tried both attributing the colour to the table rows, and to individual cells within those rows (ie <tr bgcolor="#CCFFFF">, and <td width="n%" bgcolor="#CCFFFF"> ).
For some reason, Netscape only colours the first cell in the second coloured row, while ie colours the entire row. I will try and upload it somewhere if anyone needs to take a look, but if it is a glaringly obvious problem, please let me know.
Cheers,
H~The Artist Latterly Known as Crazy Hamster~
922ee590a26bd62eb9b33cf2877a00df
Currently delving into Django, GIT & CentOS
-
Feb 15, 2001, 09:53 #2
- Join Date
- Feb 2001
- Posts
- 21
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Netscape behaves different at setting the color of a cell.
First, set the color for each cell individually (no <tr bgcolor=...>, just at <td)
Then, make sure that each cell actually has some content, a or a blank gif 1X1 could do the job.
That should help(Oh... I really hate designing for netscape)
-
Feb 18, 2001, 02:10 #3
- Join Date
- Jul 2000
- Location
- Singapore
- Posts
- 2,103
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Many reasons.
For one, your code isn't up to standard.
NEVER PUT ANY CODE IN <TR> TAGS
they are just as a form of definition for a new line ( new row ) of table cells.
if you want an entire tbale to be blakc for exmapl,e place bgcolor="" in your <table> code and ignore all specifications for colour backgorund in the entire <td> tags.
you can also specificy the bgcolor in all the <td> tags.
sometimes however, your colour/cell doens't show in netscape
it could be that yor cell is empty. just put a code into your cell..like:
<td> </td>
that should do the trick.
otherwise, post your problem here and w'ell help"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
-
Feb 22, 2001, 16:35 #4
- Join Date
- Feb 2001
- Location
- west coast canada
- Posts
- 6
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i have found that for NS table problems you HAVE to put a in the "empty" cells in order for NS to treat them even close to "properly"... in DW 4 the new layout mode allows for much easier table building that NS will accept... i strongly recommend it...
and I echo the comment above... I HATE DESIGNING FOR NS...
i was reading on the w3c.org site that there's a new coalition being formed for the standardization of browser compatibility... a group of designers who are equally as frustrated by the issue... if we all get involved, maybe we can get some changes made...
cheerskera mchugh
designer
somethingelse web+graphics
www.time4somethingelse.com
Bookmarks