Unstoppable Domains โ€” AI Assistant

Positioning tabs within a relative container

Spaceship Spaceship
Watch

VaporAction

Established Member
Impact
0
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.com

the 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>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
Appraise.net
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back