Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    72
    Tokens
    0

    Default Help with height +REP

    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:


    +REP for a helpful post

  2. #2
    Join Date
    Jun 2008
    Location
    West midlands, Birmingham.
    Posts
    2,093
    Tokens
    219

    Latest Awards:


  3. #3
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    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.

  4. #4
    Join Date
    Jun 2008
    Posts
    72
    Tokens
    0

    Default

    If i were to put a wrapper round the whole middle part and set it to background colour would it work?

  5. #5
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    No because u wouldnt have rounded corners...

  6. #6
    Join Date
    Jun 2008
    Posts
    72
    Tokens
    0

    Default

    but there will be a footer part at the bottom?

  7. #7
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    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.

  8. #8
    Join Date
    Jun 2008
    Posts
    72
    Tokens
    0

    Default

    Thanks will edit post to say what happens

Posting Permissions

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