Style Sheets problem
by Ed Lazor <osmosis(at)atfantasy.com>
|
Date: |
Sat, 13 Jan 2001 12:28:45 -0800 |
To: |
hwg-style(at)hwg.org |
|
todo: View
Thread,
Original
|
|
I'm running into a Netscape / Style Sheets problem that has me a little
stumped, so I thought I'd ask here to see if anyone might know the
answer. I've isolated the problem and put it online at the following address:
http://www.atfantasy.com/test.html
Description of the problem:
I created a style sheet class and specified for the table cell to use it,
which it does. At least, until I put a small table inside the cell.
So far, I've only seen two solutions:
1) Remove the inner table and the problem goes away
2) Recreate the entire document with a single table instead of two
Neither of these solutions provide a long-term fix, because the web page is
a template with a table to encapsulate data that's pulled from a
database. HTML is stored in the database, loaded into the template (via
PHP), formatted using CSS, and then rendered on the user's browser.
Everything works in IE. Netscape (v4.75) seems to ignore CSS formatting if
the content pulled from the database and loaded into the template contains
a table. I'm guessing it might be a bug in Netscape with nesting tables,
but I'm not sure and I don't have any ideas on a solution that will meet my
needs.
Do you have any ideas or recommendations?
-Ed
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA