On 15/05/2009, at 3:51 AM, Gunlaug Sørtun wrote: > David Bailey wrote: >> Something I was unaware of was that you can float a div as well as >> position it relatively! > Relative positioning adds a few factors to the mix...
That all makes sense. Thanks for the explanation. >>> Also included min-width fix for IE6, in case you want that. >> Is there anywhere I can find out an explanation of what you have >> done here? > See: <http://www.gunlaug.no/contents/wd_additions_14.html> That's excellent. I've looked through and also bookmarked it. It certainly helps to make IE work as it does in FF and Safari. I guess the very fact we have to make special style sheets for IE in the first place shows we are having to take special steps to incorporate this ubiquitous but recalcitrant browser in its various versions, so I can see an argument for using MS's proprietary expressions when needed. > >> The real problem I have with the menu bar in IE and the fact that >> I have to stipulate a width for each menu item in pixels rather >> than auto... >> this creates the problem of the menu bar dropping a line when the >> window is narrowed or viewed at 800x600. > > In the 'menu_ie.css' stylesheet add/change to... > ...and things will improve a bit at normal font size in IE6. > The above works in IE6 because that browser has no respect for > declared > dimensions and will expand the li until the content fits inside. > Usually > that buggy behavior causes problems, bet here we're turning that > bug to > our advantage. That's excellent--almost the same as it appears in Safari! I can see what you have done using that IE bug. This is most helpful in seeing how to think in terms of what cards we've been dealt and turn it to good! > resizing will cause drop at narrow width in all browsers, and > there's no > use trying to avoid/prevent that. Yes, I was aware and happy with that. I'm personally happy with allowing menus to collapse, as ugly as that may at times look, but it does allow for resizing of text for readability. The site owner, however, didn't want the menu bar to collapse, hence the min-width, for which your work-around has suited well. I am very grateful for the help I've received, and have learned a lot from this. Regards, David ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/