Log in

View Full Version : Help with height +REP



Kupen
03-11-2009, 05:40 PM
Okay, I am coding my layout and I want a certain height so it looks good but I still want the height to still expand. I have a background colour on it so I want it to fill the area if you like.

Screenie:
http://www.sharehabbo.net/images/1257270273.png

+REP for a helpful post

iDenning
03-11-2009, 10:05 PM
what are you coding in?

LMS16
04-11-2009, 03:59 PM
if you're coding in divs then put a div underneath the banner and call it sumit like "content" so it'd be <div id="content"></div> slice an image of that background (including the sides) and set the width to what ever ur layout is and put tht image as the background.

Lew.

Kupen
04-11-2009, 06:49 PM
If i were to put a wrapper round the whole middle part and set it to background colour would it work?

LMS16
04-11-2009, 07:21 PM
No because u wouldnt have rounded corners...

Kupen
04-11-2009, 09:56 PM
but there will be a footer part at the bottom?

LMS16
05-11-2009, 06:30 PM
You want it to be something like...


<div id="wrapper">
<div id="banner"></div>
<div id="content"></div>
<div id="footer"></div>
</div>

Have a mess around with css and html, ud be suprised of the outcomes ;)

Lew.

Kupen
05-11-2009, 08:34 PM
Thanks will edit post to say what happens

Want to hide these adverts? Register an account for free!