Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2010
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post

    how to repeat image within DIV no matter the content

    i have the following which works if i set the height but as the page dynamic i wish to have the page grow no mater the height needed. without having to change the height for each page, meaning i have the DIV added to each page, i can can only have one.

    Code:
    #container2010 { background-color:#ecedee; width:775px; background-image:url(images/containerbg2010.jpg); background-repeat: repeat-y; }
    Last edited by jasonpc1; 05-15-2010 at 09:25 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    i have the following which works if i set the height but as the page dynamic i wish to have the page grow no mater the height needed.
    By default, an element like <div> automatically stretches its height along with the content inside it.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    845
    Thanks
    11
    Thanked 79 Times in 77 Posts
    IE has a problem with this, but the CSS min-height Property might work for you. Maybe the new IE 9 will solve that problem when it gets out.
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

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