custom header
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
Hi, I am trying to add a custom header to Gallery. but having some problems. <link rel="stylesheet" href="http://craig.no-ip.org/gallery2/headerstyle.css" type="text/css"> </head> <body> <div id="masthead"> <div id="globalNav"> <img alt="" src=http://craig.no-ip.org/images/gblnav_left.gif height="32" width="4" id="gnl"> <img alt="" src=http://craig.no-ip.org/images/glbnav_right.gif height="32" width="4" id="gnr"> <div id="globalLink"> <a href="http://craig.no-ip.org/" class="glink1">Home</a><a href="http://craig.no-ip.org/familytree/" class="glink">Family Tree</a><a href="http://craig.no-ip.org/forum/" class="glink">Community Forums</a><a href="http://craig.no-ip.org/gallery/" class="glink">Photo Albums</a> </div> </div> </div> First off can I link to my style sheet like this? will it mess anything up? |
|
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
maybe my stylesheet will help? body{ margin: 0px; padding: 0px; } #masthead{ position: relative; width:100%; height: 95px; background-image: url(http://craig.no-ip.org/images/header.jpg); } #globalNav{ position: absolute; width: 100%; height: 32px; color: #B2BDC0; padding: 0px; margin: 0 auto; top: 95px; background-image: url(http://craig.no-ip.org/images/glbnav_background.gif); } #gnl { position: absolute; top: 0px; left:0px; } #gnr { position: absolute; top: 0px; right:0px; } #globalLink{ position: relative; top: 5px; height: 22px; padding: 0px; margin: 0px; left: 10px; z-index: 100; width: 700px; } a.glink, a.glink:visited{ font-size: small; color: #7A8D92; font-weight: bold; margin: 0px; padding: 2px 5px 4px 5px; border-right: 1px solid #8FB8BC; float: left; font-family: Verdana; } a.glink1, a.glink1:visited{ font-size: small; color: #7A8D92; font-weight: bold; margin: 0px; padding: 2px 5px 4px 5px; border-right: 1px solid #8FB8BC; float: left; border-left: 1px solid #8FB8BC; font-family: Verdana; } a.glink:hover{ background-image: url(http://craig.no-ip.org/images/glblnav_selected.gif); text-decoration: none; } a.glink1:hover{ background-image: url(http://craig.no-ip.org/images/glblnav_selected.gif); text-decoration: none; } |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
maybe take out position:relative from masthead? |
|
spankee
Joined: 2004-06-12
Posts: 51 |
![]() |
Thanks, but that did not work. |
|