3 replies [Last post]
Altin
Offline
Regular
Last seen: 13 years 33 weeks ago
Joined: 2006-12-19
Posts: 13
Points: 0

Hey
my navigation isn't working for som reason. I have the li's set to inline, and the anchors to block, but in IE it's displayed as blocks anyway ...
Can someone see my errors?
Thanks!

css:

#catsbox{
height: 33px; width: 100%;
text-align: left;
padding-left: 10px;
}
#catsbox ul{
padding: 0px;
margin: 0px;
display: inline;
}
#catsbox li{
display: inline;
margin: 0px;
padding: 0px;
text-align: center;
float: left;
}
#cat_first{
display: block;
height: 24px;
padding: 9px 5px 0px 6px;
}
.cat_other{
display: block;
height: 24px;
padding: 9px 5px 0px 6px;
background: url(images/cat_sep.gif) no-repeat;
}
#catsbox a, #catsbox a:visited{
color: #FFFFFF;
font-weight: bold;
outline: none;
text-decoration: underline;
}
#catsbox a:hover, #catsbox a:active{
color: #FFFFFF;
font-weight: bold;
outline: none;
text-decoration: none;
}

html:

<div id="catsbox"><ul><li><a id="cat_first" href="http://www.ee13.com/games/categories/1/action.html" rel="nofollow">Action</a></li><li><a class="cat_other" href="http://www.ee13.com/games/categories/3/adventure.html" rel="nofollow">Adventure</a></li></ul></div>

Live link: EE13.com

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 46 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Altin would you mind adding

Altin would you mind adding the proper code tags to your pasted code so that it will display, thanks.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Altin
Offline
Regular
Last seen: 13 years 33 weeks ago
Joined: 2006-12-19
Posts: 13
Points: 0

I got it fixed guys Thanks!

I got it fixed guys Smile
Thanks!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 46 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Thanks for adding the code

Thanks for adding the code tags

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me