1 reply [Last post]
darrengreer
darrengreer's picture
User offline. Last seen 1 year 36 weeks ago. Offline
newbie
Timezone: GMT-4
Joined: 2010-08-31
Posts: 1
Points: 2

Visual layout desired:

Header Image - Some header content (search bar, text)
Repeating Center Image - Most of the content, near the top it needs to bleed over the header image
Footer Image - Some footer content (links)
Assume the following code layout:

<header>
</header>
<content>
</content>
<footer>
</footer>

Here is my issue. My header image is 158px high, which is quite large. I am repeating a background image in "content" above, and visualy it looks fine, but all the content starts below 158px. If I put a negative margin for "content", then the content moves up, but so does the repeating background image, thus overlapping my header background image. I've been googling for a day now, and can't figure out how best to lay this out, to achieve my desired output.

Can someone give me a hint as to what approach to take. I'd post the actual code, but it is a modified prestashop template, and very involved.

Any help appreciated.

CupidsToejam
CupidsToejam's picture
User offline. Last seen 17 weeks 4 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

im confused. So you want your

im confused. So you want your content inside your header, but not the content background?? Maybe you can provide an image of what you want, the prototype.


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com