close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Full-width header and footer (tiled bkg image) with centered image over?

Thread began 6/23/2010 8:44 pm by mermaidginger | Last modified 6/24/2010 9:23 am by Eric Mittman | 3297 views | 1 replies |

mermaidginger

Full-width header and footer (tiled bkg image) with centered image over?

Hi all,

I've created a new CSS layout with full-width header and footer and fixed/centered content area of 960px. Both the header and footer contain a background image that is tiled x-repeat. What I would like to be able to do is add a 960px wide image to both the header and footer area that centers so it's inline with the content. I'm just not sure of the correct/standard way of doing this.

My CSS code is below. I have checked it on W3C and it validates as CSS 2.1 with no errors. Any assistance regarding the image over the background image issue would be much appreciated. Thanks for your time. Ginger

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
}
body {
background-color: #FFFFFF;
border-style: none;
color: #555555;
font: normal normal normal 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
margin: 0 0 0 0;
padding: 0 0 0 0;
text-align: center;
text-decoration: none;
}
h1 {
color: #0084A9;
font: normal normal bold 25px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
h2 {
color: #555555;
font: normal normal bold 21px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
h3 {
color: #0084A9;
font: normal normal bold 15px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
h4 {
color: #555555;
font: normal normal bold 12px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
h5 {
color: #555555;
font: normal normal normal 10px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
text-transform: uppercase;
}
h6 {
color: #555555;
font: normal normal normal 9px Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
text-transform: none;
}
a, a:link {
color: #555555;
font: normal normal bold 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
a:visited {
color: #555555;
font: normal normal bold 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
a:hover {
color: #0084A9;
font: normal normal bold 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
a:focus {
color: #0084A9;
font: normal normal bold 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
a:active {
color: #0084A9;
font: normal normal bold 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 21px;
text-decoration: none;
}
#pp-header {
background-color: #0084A9;
background-image: url(/*INSERTURL*/);
background-position: top center;
background-repeat: repeat-x;
border-style: none;
font-size: 18px;
font-weight: bold;
height: 305px;
line-height: 15px;
padding: 0px 0px 0px 0px;
text-align: left;
}
#pp-navigation {
background-color: #413000;
background-image: url(/*INSERTURL*/);
background-position: top left;
background-repeat: repeat-x;
border-style: none;
height: 25px;
padding: 10px 10px 10px 10px;
}
#outerWrapper {
background-color: #fff;
margin: 0 auto 0 auto;
overflow: hidden;
text-align: left;
width: 960px;
}
#outerWrapper #contentWrapper {
overflow: hidden;
}
#outerWrapper #contentWrapper #pp-content {
background-color: #FFFFFF;
border-style: none;
float: left;
margin: 0 0 0 0;
padding: 35px 25px 25px 25px;
width: 660px;
}
#outerWrapper #contentWrapper #pp-sidbar {
background-color: #FFFFFF;
border-style: none;
float: right;
margin: 0px 0px 0px 0px;
padding: 35px 25px 25px 25px;
width: 190px;
}
#pp-footer {
background-color: #413000;
background-image: url(/*INSERTURL*/);
background-position: top left;
background-repeat: repeat-x;
border-style: none;
height: 90px;
padding: 10px 0px 10px 0px;
}
html, body {
height: 100%;
}
#outerWrapper {
min-height: 100%;
position: relative;
}
* html #outerWrapper {
height: 100%;
}
#pp-footer {
margin-top: -110px;
position: relative;
}

Sign in to reply to this post

Eric Mittman

Do you have a link where we can see what the current result is that you are getting? It is usually easier to check out css issues like this with an understanding of what the desired look should be. We could then check all of the css that is involved and try to help you get it the way you would like it. Please post back with these details and include any screen shots or descriptions of how you would like it to be in the end.

Sign in to reply to this post

mermaidginger

This post has been deleted.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...