OK,
I'll be the first to admit that I'm not an expert web designer / developer
but I have produced web 'applications' for intranet and internet where the
vagaries of different browser (whether or not they are HTML / CSS compliant)
becomes a minefield that can produce very strange and worrying effects. I
had
at least one instance on a MAC where the page returned as a complete blank
with full source still visible (eg. View Source).
I don't even know what a 'replaced' element is and certainly I don't have
the time, energy, or inclination to go and check every usage on an HTML
element, attribute or CSS application whether it be a stylesheet or style
attribute.
Now, please don;t get me wrong, I'm not ranting, nor am I flaming your
response. I'm merely trying to show the level of frustration that
accompanies any form of web based development no matter how experienced one
might be. I'd probably put myself across as an 'Advanced' web developer
given that I've successfully done DHTML, XSLT,. XML, Javascript, and fairly
complex layouts with attendant CSS. However, it still pi**es me off when my
best efforts turn out to be garbage on anything other than IE 5.5+ or
Mozilla (I *like* Mozilla a lot). Certainly trying to get anything even
remotely complex or interactive to work
with Netscape or the Mac (Safari) is almost impossible.
Regards,
Chris.
Chris Barber said:
Brilliant
I am beginning to despair with HTML and browser specific
implementations.
First of all, it's a style issue, not an HTML one**. And this seems worthy
of mention:
"CSS1 core: UAs may ignore the 'height' property (i.e.,
treat it as 'auto') if the element is not a replaced
element."
http://www.w3.org/TR/CSS1#height
Since a DIV is not a replaced element, I don't see how you can reasonably
expect uniformity.
And that's just as well. Consider what the W3C says about style sheets:
"By attaching style sheets to structured documents on the
Web (e.g. HTML), authors and readers can influence the
presentation of documents without sacrificing device-
independence or adding new HTML tags."
http://www.w3.org/Style/
To me, the key word in that passage is INFLUENCE. I wouldn't get too worked
up about standards-compliant discrepancies between implementations. This is
a technology that should be *embraced* for its flexibility, not cursed.
**Even if you want to consider the HTML HEIGHT attribute on your table, you
have a problem. For one thing, the TABLE element has none. And for cells,
it's deprecated:
http://www.w3.org/TR/1998/REC-html40-19980424/struct/tables.html#edef-TABLE
http://www.w3.org/TR/1998/REC-html40-19980424/struct/tables.html#adef-height-TH
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.