html css header text
Posted
by JohnWong
on Stack Overflow
See other posts from Stack Overflow
or by JohnWong
Published on 2010-04-03T16:44:03Z
Indexed on
2010/04/03
16:53 UTC
Read the original article
Hit count: 338
I am trying to move the nav text (home...) up in the middle to the right. But when I do -120px for the top (nav.li), it eats up part of the banner. How can I fix that?
Thanks
body { background-color: #D6E2FF; }
#headerimg { margin: 10px 0px 0px 0px; height: fixed; width: 95%;
}
#header { height:auto; background:url("menubar.jpg")
no-repeat; }
#logo {
background: transparent url("logo.jpg") no-repeat;
display: block;
width: 146px;
height: 146px;
border: none;
}
#navcontainer { font-size: 200%; margin: -100px 0px 0px 500px; }
#navlist li { display: inline; list-style-type: none; padding-right:
30px; color: #FFFFFF; }
© Stack Overflow or respective owner