Thanks, Gunlaug... it works! By the way, your comment about not blaming a particular browser led to an epiphany for me... each browser has its own defaults for HTML structural elements, that there is no one "correct" way to render, and that it's up to me to specify rendering explicitly if I want the content to conform to my design intent. I've been working with CSS for 3 months, and this concept was never clear in my mind until now. Thanks!
Is there an online resource somewhere that lists all the HTML elements that are rendered differently among browsers, and shows what CSS attributes you must tweak in order to get browsers to render the elements similarly? This would be very handy. The alternative for me is trial and error. (For instance, in this case I was fooling around with margin, padding, text-indent, and list-style attributes for hours before you showed me the right combination of attributes to set.) -- Dean Champeau Champeau Services 86 E Fox Point Drive, Appleton WI 54911 Phone 920/731-5474 Cell 920/915-2151 Fax 267/377-1002 [EMAIL PROTECTED] www.champeauservices.com On Sep 14, 2006, at 1:54 AM, Gunlaug Sørtun wrote: >> http://www.champeauservices.com/primemediagroup/prime_media.html > > The cause is that some browsers have margin-defaults on lists (IE/win > and older Opera-versions), while others have padding-defaults (Gecko, > Safari and new Opera-versions). > (Don't blame any browsers - there is no standard for how browsers > should > do this.) > > So, you'll have to set both margins and paddings for lists to make > them > agree on how to indent list-items - usually by zeroing out one > property > and setting a suitable value for the other. > > > The "fix" in your case is to add... > > #vertmenu ul {padding: 0;} > > ...and otherwise keep it as is. > > 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/