Ash564
15-02-2011, 08:06 PM
Hello! :)
On my site, i want my banner to cover the whole page regardless of resolution. I have chopped my banner into 3 sections...
http://solent-fusion.co.uk/forum/images/v1/banner_start.png http://solent-fusion.co.uk/forum/images/v1/banner_middle.png http://solent-fusion.co.uk/forum/images/v1/banner_end.png
How do i code the CSS so the middle bit stretches until the end part?
My current CSS:
.bannerstart {
background: url(images/v1/banner_start.png) no-repeat;
height: 150px;
text-align: left;
}
.bannermiddle {
background: url(images/v1/banner_middle.png) repeat-x;
height: 150px;
text-align: left;
}
.bannerend {
background: url(images/v1/banner_end.png) no-repeat;
height: 150px;
text-align: left;
}
Thanks :)
Ash
EDIT: Cant see due to white on white background.
Links are http://solent-fusion.co.uk/forum/images/v1/banner_start.png - http://solent-fusion.co.uk/forum/images/v1/banner_middle.png - http://solent-fusion.co.uk/forum/images/v1/banner_end.png
On my site, i want my banner to cover the whole page regardless of resolution. I have chopped my banner into 3 sections...
http://solent-fusion.co.uk/forum/images/v1/banner_start.png http://solent-fusion.co.uk/forum/images/v1/banner_middle.png http://solent-fusion.co.uk/forum/images/v1/banner_end.png
How do i code the CSS so the middle bit stretches until the end part?
My current CSS:
.bannerstart {
background: url(images/v1/banner_start.png) no-repeat;
height: 150px;
text-align: left;
}
.bannermiddle {
background: url(images/v1/banner_middle.png) repeat-x;
height: 150px;
text-align: left;
}
.bannerend {
background: url(images/v1/banner_end.png) no-repeat;
height: 150px;
text-align: left;
}
Thanks :)
Ash
EDIT: Cant see due to white on white background.
Links are http://solent-fusion.co.uk/forum/images/v1/banner_start.png - http://solent-fusion.co.uk/forum/images/v1/banner_middle.png - http://solent-fusion.co.uk/forum/images/v1/banner_end.png