PDA

View Full Version : help with position of custom header


ldunlap
Dec-07-2006, 08:10 PM
i did ivar's tutorial for custom header, but it's not positioned correctly on the page and my nav and gallery are actually overlapping my custom header. anyone know what's happening here? http://damswim.smugmug.com/

Allen
Dec-07-2006, 08:23 PM
i did ivar's tutorial for custom header, but it's not positioned correctly on the page and my nav and gallery are actually overlapping my custom header. anyone know what's happening here? http://damswim.smugmug.com/
Change width to actual pic size for centering and add bottom margin.
#my_banner {
width: 770px;
height: 75px;
margin: 0 auto;
margin-bottom:25px;
background: url(http://www.damswim.com/images/smugmughead.jpg) no-repeat;
}
Hope this helps,
Al

and Welcome to Dgrin.

ldunlap
Dec-07-2006, 09:01 PM
awesome! thanks!

ldunlap
Dec-07-2006, 09:07 PM
aw geez...now i have a side margin issue. i tried align: center; but everything still isn't center aligned. :(

Allen
Dec-08-2006, 05:30 AM
aw geez...now i have a side margin issue. i tried align: center; but everything still isn't center aligned. :( Set to width to the ACTUAL picture width 770.
You still have it at 800px.
Al