SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css vertical stretching

    hi guys

    really need help here

    im doing a css layout for this website

    http://www.perforated-edge.com/client/IGH/index.html

    it was fine as is for a while but now they want it scalable for other languages.

    this means the features and support boxes need to be able to grown with the text

    if i was designing in tables i would split into 3 rows and make the middle row a tiled bg image that stretched

    but its in css. how do i do this?

    i looked at sliding doors bu this is for horizontal expansion

    any idea?

    FYI there is a new offline version so dont concern yourself with crap css of tis version

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Instead of positioning everything and moving your text over the image I would put everything into a div. Cut the top and bottom sections off the image and set the middle section as your repeating background. Then you just stick the top image into your div followed by your text then the bottom image. No absolute positioning necessary and it will expand vertically the more text you add.


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
  •