Log in

View Full Version : Confused



Luke
07-04-2010, 06:28 PM
Okay;

When i used to code in tables, to make them 'expandable' i had a table in a table. Then when the inner table filled up, the outertable (often with the main layout background) would to.

However, trying out divs, and i can't seem to get it.
Instead of the main one just expanding, it messes up.

Here's example:
Layout Normal: http://lukebateson.co.uk/example/
Layoyt Not Normal: http://lukebateson.co.uk/example/wrong.html

Any help?

Recursion
07-04-2010, 08:28 PM
IIRC (not coded expandable DIVs in a while), You are setting the height for the DIVs where your content is, stop that.

Also for the love of God, put your styles in a .css file.

Luke
07-04-2010, 08:44 PM
I've removed the heights and it's the same :(
http://lukebateson.co.uk/example/wrong.html

Recursion
07-04-2010, 08:46 PM
#content_container {
height: 100px;
}

...?

Luke
07-04-2010, 08:48 PM
Didn't see that one, but still nothing :(

Recursion
07-04-2010, 08:59 PM
Not sure if you've seen this... http://www.habboxforum.com/showthread.php?t=515762&page=1

Luke
07-04-2010, 09:05 PM
Yeh, but that's extremely basic, just three boxes

Blob
07-04-2010, 10:30 PM
Replace


#main_spacer {
width: 912px;
background-image: url(images/main_spacer.png);
height:477px;
}


with


#main_spacer {
width: 912px;
background-image: url(images/main_spacer.png);
}

Luke
08-04-2010, 07:07 AM
Nope, that didn't do it either
http://lukebateson.co.uk/example/wrong.html

Haven't a clue what I've done now :L

Recursion
08-04-2010, 07:31 AM
I don't have a clue how to managed to break this layout in such a weird way... LMAO

Luke
08-04-2010, 07:41 AM
LOL, think i'll scrap that. That was just practice anyways, been looking at source codes, and think i know how to do it now ;)

SirDiamond
10-04-2010, 09:52 PM
Luke,

Have you got it sorted now? Catch me on MSN if you don't and I'll help.

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