mieche — 2011-04-25T23:49:33-04:00 — #1
I've seen this in a few different places where the background image resizes to fit the window...I'm wondering if there is a way for this to work for the entire page of a portfolio site so the header, main image and footer always fit on the page...hope that makes sense.
paul_wilkins — 2011-04-26T02:24:09-04:00 — #2
Always? What if my page is only 100x180 pixels in size?
It sounds like you're after some kind of liquid layout, which the CSS Forum specializes in.
See for example: The Perfect 3 Column Liquid Layout
The resizable background image can always be added on to such pages.
mieche — 2011-04-26T19:34:04-04:00 — #3
Well clearly there would need to be a minimum size. But no I don't mean a liquid layout because what I need is for the height to fit the users window size so there is no scrolling...
The site I'm creating won't have a background image, but that is the only way I have seen it done so far.
paul_wilkins — 2011-04-26T19:56:21-04:00 — #4
Scripted solutions that might be applied to this tend to be messy and unreliable.
You haven't mentioned if you've checked out CSS solutions to this yet.
Does the CSS Forum have anything to say about achieving 100% height?
mieche — 2011-04-26T20:28:25-04:00 — #5
Thanks for the help Paul