| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Vertical 100%
Hi there, Can someone help me in finding the best way to set the pages to 100% height, while maintaining the 760 px width? Would i have to add another div set to 100% height inside the wrapper/container div? I suppose mixing pixels and % in the same class doesn't work in CSS... Thanks in advance. http://www.cmstest2.be Last edited by KrisMarissens : 07-06-2006 at 08:04. |
|
|
|
|
|
#3 (permalink) | |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Quote:
Maybe i oughta check my typing now and then... The url in url tag wasn't the correct one Here is the correct one: http://www.cmstest2.be |
|
|
|
|
#4 (permalink) |
|
who the fuck am i?
|
so you want the page to stretch to the bottom of the screen? If so do a search for 'css faux column technique' on google... give you plenty of tutorails on the subject ps: your css is frightening... impossible to search for details relating to your subject. |
|
|
|
#5 (permalink) |
|
senior member
Join Date: Sep 2005
Location: auckland, nz
Posts: 323
|
not sure what youre getting at, but if you want the background of your container to stretch the height of the window, you could try taking a horizontal slice of the bg and repeating it vertcally like; body { background-image: url{../images/bg_slice.gif}; background-position: top center; background-repeat: reapeat-y; } |
|
|
|
#9 (permalink) | |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Quote:
I'll have to put some proper structure into it... Last edited by KrisMarissens : 07-06-2006 at 09:00. |
|
|
|
|
#10 (permalink) | |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Quote:
Path to .js preloader now corrected. Thanks for pointing that out! |
|
|
|
|
#11 (permalink) | |
|
Senior Member
Join Date: Jan 2005
Posts: 12,340
|
Quote:
body { background: url(../images/bg-image.gif) repeat-y top center #color; } |
|
|
|
|
#12 (permalink) |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
The trouble is that i would like for the blue and gray background (table cells) to follow down also, and i'm kind of fond of that little white border surrounding the whole. so that pretty much rules out the background repeat attribute i'm affraid... |
|
|
|
#15 (permalink) | |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Quote:
Not really. Correct me if i'm wrong, but the thing is: i want to add a little white border at the top, left side, right side AND BOTTOM of the box, this makes the repeating background unfit as a possible solution . If it weren't for the white line, i would indeed only be needing this - imho wouldbe - solution... Cheers. |
|
|
|
|
#16 (permalink) |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
Or maybe i'll just add that extra div with the repeating background and change the table into floating divs. That will do the trick. Thanks all. Last edited by KrisMarissens : 08-06-2006 at 01:21. |
|
|
|
#18 (permalink) |
|
senior member
Join Date: Sep 2005
Location: auckland, nz
Posts: 323
|
hes already put it up finbarr http://www.cmstest2.be/ |
|
|
|
#19 (permalink) | |
|
who the fuck am i?
|
Quote:
|
|
|
|
|
#20 (permalink) |
|
or just Kris
Join Date: Jun 2005
Location: Brussels - Belgium
Posts: 123
|
So anyway, i went with the the repeating background image in the body element and ditched the top and bottom white border... This is indeed the fastest solution (in a band-aid-like sense). Thanks very much. |
|
![]() |