Results 1 to 3 of 3

Thread: DIV help

  1. #1
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default DIV help

    Hi people,

    Right i am in the middle of creating a little website and i have the top of the layout, i need to add a div underneath, but it needs to follow the border image down and have a base.

    you can see the top at

    www.haloguy.co.cc

    i need to add an expandable DIV underneath it.

    +Rep to all help.

    This is what i need:

    Last edited by Jack!; 24-10-2009 at 11:47 AM.

  2. #2
    Join Date
    Oct 2009
    Posts
    55
    Tokens
    75

    Default

    <div id="content" />
    The content here
    <div>

  3. #3
    Join Date
    Aug 2004
    Location
    Bodrum, Turkey
    Posts
    74
    Tokens
    0

    Default

    Yeah just use the code iZoinc has provided and use some CSS to style it.. eg.

    #content {
    overflow:hidden; /* Expands the div with the content */
    padding: 5px; /* Number of pixels padding you need around the edge of the div */
    width: 100%; /* Use pixels if you know the exact width you use */
    }

Posting Permissions

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