li item css
- Started
- Last post
- 9 Responses
- versa
can't seem to get my list looking the same in IE and Moz/ Saf this time... any suggestions appreciated i am brain-dead
testing url:
http://www.nghbr.com/clients/lgsā¦
css on .bodyUl :
.bodyUl ul [
list-style-type: none;
margin: 1em 0px 1em 0px;
].bodyUl li [
margin-bottom: .5em;
padding-left: 15px;
line-height: normal;
list-style-type: none;
background: url(../img/liImg.gif) no-repeat 0px 3px;
]
- JazX0
pasting CSS here gets ugly
- versa0
my paste is beatiful: now help !
- version30
versa oi' having the same issue and have yet to find any documentation to solve this dillemma
it seems ie is incapable of rendering the sub li markup and renders anthing within the same way
If I find a fix I will post it here
- JazX0
LI {
FONT-SIZE: 11px; MARGIN: 0px 0px 15px; COLOR: #333; LINE-HEIGHT: 17px; FONT-FAMILY: Verdana, Tahoma, Helvetica, sans-serif
}#lister {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 5px 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none
}#lister LI {
PADDING-RIGHT: 0px; PADDING-LEFT: 22px; BACKGROUND: url(../images/arrow.gif) no-repeat 0px 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
- versa0
ha
IE also seems to give a default top and bot mar to uls of 15 or so, whereas in Moz it is like 10 on top and 5 on bot ... setting mar doesn't seem to help !
- spiralstarez0
I don't see where the difference is. Looks the same to me in IE and Moz
- spiralstarez0
That's Win2000
- JazX0
I know h5's in FF don't want to work either, I have no idea
- version30
try your padding and margin layout like this.
body {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}i get good results