|
Post by Moonstar on Jun 26, 2007 14:01:26 GMT -5
Hi all. I want to start experimenting with different types of layouts like tables and div-layer. I did make one but could not figure out how to make a div-layer layout where the content box would stretch, like this: www.reisei-sa.net/moonlitstars/FortSolML.phpcan someone help me? Thanks ^^
|
|
|
Post by Ellethwen on Jun 26, 2007 14:03:08 GMT -5
You mean, where the divs line up no matter which one is longer?
EDIT:
Or do you mean not scroll when you pass the height?
That's fairly simple, all you have to do is not put in a height and don't put in the "overflow: auto;" thing.
|
|
|
Post by Moonstar on Jun 26, 2007 14:12:34 GMT -5
really? that's all Thanks!
|
|
|
Post by Ellethwen on Jun 26, 2007 14:14:56 GMT -5
No problem! Glad to know it was helpful!
|
|
|
Post by Betty Ann on Jun 26, 2007 14:20:30 GMT -5
another solution:
on one or both div layers, put the following:
margin-bottom: 10em;
That will make sure it goes all the way to the bottom of the page no matter what.
|
|
|
Post by Ellethwen on Jun 26, 2007 14:23:15 GMT -5
another solution: on one or both div layers, put the following: margin-bottom: 10em; That will make sure it goes all the way to the bottom of the page no matter what. Please don't tell me that's what's messing up my layout right now... *goes to check* EDIT: Okay, removing that messed it up even more, so no.
|
|