faile486
08-08-2011, 10:01 PM
I'm trying to adapt a technique I saw on matthewjamestaylor 's website to a design for my site that involves overlapping divs with background images. I can't get one of them to show up, and I'm not sure why?
I'm using nested divs to get equal column heights. I need different background images on a number of elements.
Here's the overall structure (not accurate code, just a general idea!):
<body> - has an image background that repeats.
<wrapper> - has an image background that repeats.
<header>
<navbar> - has a background image that doesn't repeat.
</navbar>
<banner>
</banner>
</header>
<colmask>
<colright>
<content>
<main> - has a background image that doesn't repeat.
</main>
<sidebar> - has a background image that doesn't repeat.
</sidebar>
</content>
</colright>
</colmask>
<footer> - has a background image that doesn't repeat.
</footer>
</wrapper>
</body>
I also need a background image on either colmask, colright, or content as well, and it's not showing up! I can't figure out why. It's a border image that should show up between the sidebar background and the main content background. Any idea why it's not expanding to fill it?
You can view the live site at http://www.elenmir.com/themes/elenmir/default.html (Yes, I know it looks like crap!)
Thanks
I'm using nested divs to get equal column heights. I need different background images on a number of elements.
Here's the overall structure (not accurate code, just a general idea!):
<body> - has an image background that repeats.
<wrapper> - has an image background that repeats.
<header>
<navbar> - has a background image that doesn't repeat.
</navbar>
<banner>
</banner>
</header>
<colmask>
<colright>
<content>
<main> - has a background image that doesn't repeat.
</main>
<sidebar> - has a background image that doesn't repeat.
</sidebar>
</content>
</colright>
</colmask>
<footer> - has a background image that doesn't repeat.
</footer>
</wrapper>
</body>
I also need a background image on either colmask, colright, or content as well, and it's not showing up! I can't figure out why. It's a border image that should show up between the sidebar background and the main content background. Any idea why it's not expanding to fill it?
You can view the live site at http://www.elenmir.com/themes/elenmir/default.html (Yes, I know it looks like crap!)
Thanks