Results 1 to 2 of 2

Thread: Css background extending layout

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css background extending layout

    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!

  2. #2
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    135
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Default

    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
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •