On Sat, 28 Oct 2006 23:00:20 +0100 (BST), ed gooddy wrote:
> Thanks David for the reply. I tried what you said and it is working
> excellently on most of the browsers!
So glad to hear that helped. Thanks for letting us know.
> I only get the background image not
> shown on the following two (non flash) combos:
> Netscape 4.78 (no Flash) Windows 2000 Professional (background image
> not shown) Explorer 4.0 (no Flash) Windows 98 (nothing shown
> seems to be a complete mess) http://www.villa-corti.com/menus.htm
> Is the Internet explorer 4.0 with windows 98 not compatible with divs
Yes. CSS layout is problematical at best in those browsers. Also a problem with
backgrounds in Netscape if the CSS is in a different folder, as the images must
be specified with respect to the HTML folder, not the CSS. Maybe that's why the
background does not show up?
Personally, although I have made Netscape 4.x work with CSS in the past,
I don't think it worthwhile any more. What I do is prevent version 4 and older
browsers seeing my CSS. If the HTML is marked up "semantically" visitors
having these old browsers get a perfectly usable page, even if it's plain.
You could also split your styles into two - one for fonts and colors, another
for layout, and hide the layout one from version 4.x browsers.
There are several ways of hiding CSS from old browsers. Using an @import
would work. My method is to link my style sheets with this media attribute:
(I think that any multiple media types will work, if you prefer.)
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/