Forums

CSS

This topic is locked

CSS, ul and li - help!

Posted 28 May 2005 13:29:26
1
has voted
28 May 2005 13:29:26 Matt Bailey posted:
I can't get IE and Firefox to render unordered lists in the same way. Firefox responds correctly as you'd expect, but IE seems to have a mind of it's own.

What I want is to be able to specify exactly the space between lines in the list. However, even if I set padding and margins to zero on the ul and li tags I still get massive gaps between the lines in IE. I've also specified the exact line height, the exact font size and so on and tried varying which tags I apply the styles to.

How can I make IE do what I want it to do? I'm getting really p****d off with the amount of wasted time I spend on each web project trying to make web pages look as they should in IE!

___________________________________
* Sorry... how do you do that again?... *

Replies

Replied 28 May 2005 22:10:33
28 May 2005 22:10:33 Dave Thomas replied:
show us a few screenies of the differences between the two.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I'm getting really p****d off with the amount of wasted time I spend on each web project trying to make web pages look as they should in IE! <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

join the club dude <img src=../images/dmxzone/forum/icon_smile_blackeye.gif border=0 align=middle>

regards

Dave Thomas
<b>DMX Zone Manager</b>
Replied 29 May 2005 01:40:02
29 May 2005 01:40:02 Matt Bailey replied:
Sorry, a moment of frustration <img src=../images/dmxzone/forum/icon_smile_blush.gif border=0 align=middle>

I've got round it by giving each li tag a height. This is fine for me as my unordered list is my navigation, each li needing only one line, but you wouldn't be able to employ this method for a bulleted list in your main text - each li could potentially be a different number of lines!

Oh the joys and sorrows of CSS... I'm going to bed!

___________________________________
* Sorry... how do you do that again?... *

Reply to this topic