| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Mar 2006
Location: Shropshire
Posts: 125
|
CSS list problem
I want my css list to be honizontal, which it is on a mac using safari, but when I check it on a pc using IE its vertical, can anyone please help my link is: http://finefood.pinpointcreative.co.uk/test.html and my code is: #bottomnavcontainer ul { list-style-type: none; margin: 0; padding: 0; margin-left: 210px; } #bottomnavcontainer ul li a { background: transparent url(button1.jpg) left center no-repeat; padding-left: 15px; float:left; font: normal 14px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif; text-decoration: none; color: #666; margin: 0 .8em 0 -.8em; padding: 0 .8em 0 .8em; } #bottomnavcontainer ul li a:hover { background: transparent url(button2.jpg) left center no-repeat; color: black; } #bottomnavcontainer ul li a#current { background: transparent url(button3.jpg) left center no-repeat; color: #666; } |
|
|
|
|
|
#2 (permalink) |
|
For all your goober needs
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,531
|
you need to put the float: left on the li Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison
prem ghinde |
|
|
|
#6 (permalink) |
|
Senior Member
Join Date: Mar 2006
Location: Shropshire
Posts: 125
|
I took the code from the max design website Listamatic: Bulleted Rollover List someone must be good at lists |
|
![]() |