On 7/31/06, Cole Kuryakin <[EMAIL PROTECTED]> wrote: > Hello All - > I've got a vast top and bottom padding difference on an LI nav list in Opera > (8.53) that I'm not getting in FF, IE or NN. > Each of these LI's have top and bottom borders so it's easy for me to > measure the vertical difference in each, which is: > FF - 28px > NN - 28px > IE - 27px - I can live with that > O - 24px - I can't live with that. > Reason I can't live with Opera's shortened padding is that I've got a little > background image of a folder on each LI which is positioned 0 4px which > lines up pretty much perfect with the LI labels, but ends up too far "down" > on the li in Opera. > What's the deal with padding in Opera? Is there a way to fix this problem so > this nav list (atleast the background icons) render consistently across all > four browsers? > All help greatly appreciated.
Are you sure it's padding and not line-height? Default line-height tends to vary between browsers (notably with prople complaining about wider list spacing in IE) To test you could wrap the <li> content in a span and give that a different coloured background. -- Richard Grevers, New Plymouth, New Zealand Hat 1: Development Engineer, Webfarm Ltd. Hat 2: Dramatic Design www.dramatic.co.nz ______________________________________________________________________ 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/
