VaporAction Posted January 18, 2007 Share Posted January 18, 2007 I'm trying to make a site that has a centered page with centered navigation tabs at the top very similiar to...http://www.apple.comthe part that is messing me up is the background image behind the tabs...I can't seem to get the tabs to overlap the background image without using position: absolute...if I use position absolute then the tabs don't stay in the right position with my relatively positioned page...here's a diagram (just for example, not real html)<div container position: relative; margin: auto;><div tabs background><div navigation tabs></div> Link to comment Share on other sites More sharing options...
Anders Moen Posted January 18, 2007 Share Posted January 18, 2007 Do you mean something like this?<div style="margin: 0 auto; text-align: center; width: 600px;">text that'll be centered</div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now