I have a menu box which uses nested divs to do rounded corners.  When I put
plain text into the content area of these boxes, the div that is at the
bottom looks fine, but if I put in a ul, it shifts to the left in IE.

----------

You're forgetting that each element has its own baggage (margins, padding,
etc.)  Not all browsers handle this default baggage in the same way, thus we
must even the field by explicitly telling the browsers what to do.

In your case:

.cbox_cont ul {margin:0; padding:0; list-style:none;}

* html .cbox_cont {
        width:100%;  /* this gives IE a little nudge with its math */
}

Shawn

______________________________________________________________________
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/

Reply via email to