Angela French wrote:
I usually style all my tables with nice colors and never have any
rendering issues.
I usually have several issues, and I don't even consider colors, as a rule.
But the issues depend on the table, its context, and its intended use.
Today I'm in a hurry, and just want a plain old
table dropped on my page: <table width="100%" border="1"
cellpadding="5" cellspacing="0">
I don't think it's particularly plain. This is plain: <table>.
Much to my surprise IE and FF render these two very differently (ff =
ugly).
The main difference is in the rendering of borders. If you specify
border="1" and do not specify border properties (which can really be
effectively set in CSS only), then you're asking browsers to use their
default borders - and they are somewhat odd. But don't blame the poor
wowsers only. After all, the browser doesn't know whether it's a data table
or a layout table, and which type of data or layout table, so it uses a
default rendering that is supposed to be somewhat tolerable with any kind of
table. Hence it cannot be optimal for your intended use.
It gets even work when I drop in a small icon into the first
column.
I'm not sure what you mean - maybe "worse", not "work". In the absence of a
URL, this is really guesswork. I don't see any particular rendering
difference if I just insert an image in the first cell.
Can anyone tell me what the basic rendering issues are with plain
tables between the two browsers so I know how I need to start styling
this?
The border properties. If you use Quirks Mode, then there are also
differences in inheriting font properties from the body element into tables.
Why can't they render a plain old table the same?
They are different browsers, so why should they behave the same, in matters
where no specific behavior is mandated?
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/