On Nov 19, 2007 1:31 AM, Fiona wrote: > > Im not very savvy with which browsers support what CSS - still learning all > that stuff, but Im noticing that IE5 (windows) doesnt seem to recognise > padding in such things as a horizontal menu and the spacing between a > horizontal line of images. > Is this the norm? If so, how do I combat it.
Yes, IE5.0 and IE5.5 do not apply padding to images. And IE5.0 does not apply padding (and border) to inline elements (span, a, ...) _unless_ they have a dimension which gives them hasLayout. How to solve the problem? I don't think there is a general solution. For images sometimes you can use margins, or add some wrappers and apply padding to them. For other inline element you can give a dimension to them (e.g. height:1%), after that they will behave as a sort of inline-block, so "line wrapping" and vertical positioning change... which may (or not) create other problems. Or, you can make them float. Hth, Bruno -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
