I usually have my structure laid out something like this:
<div id="all"> <div id="page"> <div id="header"></div> <div id="content"></div> <div id="footer"></div> </div> </div>
Where the body will hold a background pattern, "all" will hold a dropshadow for the page going up and down, and "page" may often have a repeating-y background as well.
I have tried variations on using the css height/min-height properties:
html, body { height:100%; ... } #all { height:100%; min-height:100%; } #page { height:100%; min-height:100%; height:auto !important; }
It seems like it works UNTIL you scroll, then after the scroll the background for #all disappears
Hopefully someone knows a fix?
Faux columns.
Faux columns.
I'm sure I could use the same
I'm sure I could use the same idea behind faux columns by combining the repeating background in the background for #all and just make sure that #all is 100% but I 'm sure there is a way to do this since I'm positive I will run into an instance that the faux method won't help
kilrizzy wrote:... I'm
I'm sure I could use the same idea behind faux columns by combining the repeating background in the background for #all and just make sure that #all is 100% ...
Why not just put it on the body where it belongs?
... I'm positive I will run into an instance that the faux method won't help
Well, until you do ...
Well the body uses a
Well the body uses a horizontal background, and you are correct that I could use this method for now however I was hoping to find that someone might know the correct way to do it.
keep in mind, the html tag
keep in mind, the html tag can also be used
"Faux Columns" IS the
"Faux Columns" IS the standard way to create so-called equal heights columns using CSS2. If you don't mind using the same colour for both columns you don't even need that. Look at a newspaper!
Lots of other things have been tried, by people smarter than me and even, if it is possible, smarter than you. And they have never come up with anything that works better and is easier to do than "faux columns".
But if you want to spend months figuring out a "better" way feel free. It is your life.
Fair enough. Was hoping
Fair enough. Was hoping something else was out there
Is there something you don't
Is there something you don't like about faux columns? It seems to be the perfect solution in cases like this.