Hi Bruce I've come up against this myself when going for a liquid 3 column layout with a header graphic that I want to span all three columns at the top. You could 'sniff' the browser width/screen res, but I don't like doing that myself. The solutuion I came up with is pretty much the solution that Vicki suggested.
I think this is a real limitation. Even Eric Meyer's site suffers this 'banner won't stretch' problem (try viewing http://www.meyerweb.com/ at 1600px screen width to see what I mean). The only alternative I have come up with is using a fixed width which sets the max width of a container div to the width of the banner. Strange, this never used to be a problem with table based layouts! Lol ... Only kidding! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Sent: 01 August 2005 12:13 To: [email protected] Subject: Re: [WSG] background images fluid Andreas Boehmer wrote: > Can you give an example of what you mean? A header or banner at the top. I can put an image in there: <div id="banner"> <img src="anything.jpg" width="100%" height="120px" alt="mynicebanner" /> </div> It will size according to the resolution. Stretch and shrink. But I cannot make it do that in the stylesheet as a background image. Is there a way? Thanks everyone for answering, I should have been more specific. Bruce Prochnau BKDesign Solutions. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005 ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
