Thanks for helping guys! LadynRed I went with your suggestion and it works. thanks. I think i cleared the divs correctly.
Code:
body {
background:#efecca url(graphics/bg.jpg) repeat-x;
width:700px;
margin:0 auto;
font-family:Tahoma, Geneva, sans-serif;
font-size:13px;
}
/*Header*/
#header{
height:75px;
width:700px;
border-bottom:1px solid black;
}
#logo{
background:url(graphics/logo.png) no-repeat;
text-indent:-9999px;
width:268px;
height:51px;
margin-top:25px;
float:left;
clear:both;
}
/*--Nav*/
#nav {
list-style-type:none;
margin-left:0px;
width:432px;
float:right;
padding:45px 0 0;
height:75px;
text-align:right;
}
#nav li{
display:inline;
padding:5px 0px 5px 15px;
height:80px;
}
#nav li a{
text-indent:-9999px;
height:83px;
}
#nav li.home a{
background:url(graphics/nav/home.jpg);
width:74px;
height:83px;
padding:65px 25px 0px 25px;
}
#nav li.home a{
background:url(graphics/nav/home.jpg);
width:74px;
height:83px;
padding:65px 20px 0px 20px;
}
oh yea, another issue (gosh im a nub), the text in the links wont go away even when i use text-indent:-9999px. anybody know how to fix this?
Last edited by fresh-d; 03-18-2010 at 07:35 PM..
|