Sent by Eric A. Meyer on 15 July 2002 09:09
At 0:40 -0400 7/15/02, Mitko Gerensky-Greene wrote:
>I am sorry if this is out of the main topic but you all seem to be
>browser-compatibility expert, so I will ask you anyway:
>
>The following page:
>http://www.strannik.net/Clients/Marshlaw1/home.html
>was working fine in Mozilla 1.0 and Netscape 7.0a until I (apperently) made
>some change and now...
>
>No CSS nor graphics are visible.
I just visited with Mozilla 1.0/Mac, and saw all the CSS and
graphics that were visible in IE5.1.4/Mac. My assumption is that,
since you posted the file, you found and fixed something-- but if
not, then there may be something else at work.
However, I did notice that your document has an XHTML 1.0
Transitional DOCTYPE (and the markup doesn't validate, which you
should fix). This DOCTYPE puts Gecko-based browsers into "standards"
mode, which means that your graphics are being split apart due to its
inline layout behaviors. See
<http://developer.netscape.com/evangelism/docs/articles/img-table/>
for an explanation of why this happens, and ways to work around it.
In your case, switching to an HTML 4.0 Transitional DOCTYPE might be
the easiest answer, but you'll have to decide that.
As a side note, in recent Mozilla builds the presence of "almost
standards" mode (see
<http://bugzilla.mozilla.org/show_bug.cgi?id=153032>) would have
meant your graphics wouldn't split apart. But that won't show up in
the official Mozilla releases until 1.0.1.
--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff (http://www.mako4css.com/)