- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Pretty straight forward, the CSS would look like this:
.inside
{
width:960px;
margin:0 auto;
}
.header
{
background:url(path/to/bar/image.jpg) repeat-x;
width:100%; /* probably not necessary unless you have reset anything*/
}
and the HTML
Content of your header goes here
So the header now stretches the whole screen, yet the text within it stays centered to a fixed width. Cheers! Dave
that is for header , i am already did that , but my problem is on footer ,it is limited .
because footer is limited by 960px , so everything inside it is limited among this range ,,
i think i should put the div=footerbar outside the div=footer , then style it ..
anyone have another idea …??
you should wrap the footer div like u mentioned.
thank u very much TIMMEY ..
this my first time with < jsfiddle.net > ,, but it is more simple and usefull ..