Topic: Padding nuance LI element for Mozilla |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
posted 02-10-2007 18:13
I'm not sure wha I'm doing wrong, the result looks better in IE than Firefox. I have an LI which is my navigation, which is set to Relative and Left Floating. In IE, the top padding is as expected. In Firefox, there is about 10px above the text. Also, the text seems to have an hanging indent of some sort... and then finally, in IE, the image that I created for the bullet is not showing at all. |
Paranoid (IV) Inmate From: Florida |
posted 02-11-2007 18:46
I only did had a cursory look, but it's quite possible all your problems stem from list-style: disc url(/images/button_spacer.gif) inside;. list-style (mainly the more specific variants) is really crap across different browsers. If you want an image on the left, use a background image. |
Nervous Wreck (II) Inmate From: The Leather Wheeliechair |
posted 02-13-2007 03:13
The whole site looks all over the place to me in Firefox 2.0. You're going to want to check your HTML, because that can have a big impact on how CSS ends up rendered. A cursory look reveals a couple of typos in attributes, and some mis-nested links (though hopefully that shouldn't be problematic.) Also, don't forget to enclose your lists in <ul></ul> for unordered lists and <ol></ol> for ordered lists. These have their own margins/padding, in addition to that of the individual <li>s |
Bipolar (III) Inmate From: Phoenix |
posted 02-19-2007 14:25
Yes, agreed the sight is all over the place. This is improving though and where I can I am replacing the bad code with good code, so more CSS less tables. |