richard n wrote: > Although I don't understand Javascript (well, I think it's JS!), it > looks like a neat and compact solution.
It's an (IE-)expression - a subset of javascript created by Microsoft and intended for use in stylesheets, but which never made it outside their own windows-browsers. A non-valid but quite well-working solution for many of IE6' shortcomings. > http://www.richardnicholson.com/testing/menu_with_frames4/editorial.html Working fine - as expected. > I'm not sure if understand that type of selector (i.e. 'html>body' - > I lifted it from Roger's code). Is it hiding the rule from IE6 (and > only IE6?). It's an ordinary CSS child-selector that IE6 and older versions don't understand. You'll find it here... <http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#selectors> ...and the following table shows which browsers understand it and which don't... <http://www.communis.co.uk/dithered/css_filters/css_only/index.html> > Is it still necessary with your solution? No, it isn't. You can write... #topbar { width: 100%; height: 3.8em; background: #FFF; position:fixed; z-index:10; } #content { padding-top: 3.8em; } ...in the main stylesheet, and leave out... #content { padding-top: 3.8em; } ...from the ie6 stylesheet. Leaves you with a pretty compact stylesheet for IE6. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/
