View Full Version : Css background extending layout
vinnt2
09-15-2009, 01:41 AM
Hi there I've always wondered how people created their own layouts and then somehow coded it to act like an extending table? Like a table that will just keep extending like no matter how much text they put into it? Here's a link with an example of what I'm talking about http://www.neopets.com/~yurbleburble_26 If anyone could help me please leave me a message! Thank you!
simcomedia
09-16-2009, 08:25 PM
Usually you just use the CSS selector:
overflow: auto;
element which causes the div containing the content to just keep on going when there's new content introduced instead of having a fixed height.
so, something like this:
#contentcontainer {
overflow: auto;
width: 750px;
padding: 10px;// so it doesn't have text bumping into the edges
}
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.