SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Feb 2009
    Posts
    1,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Should / Can we use a wrapper on this scenario ?

    By taking into consideration that those rows will be wider or thinner regarding their contents and their pages, so a "static" background image would not work as a fake solution here, what can we do to make this layout happen as a flexible layout:

    contentArea.jpg

    A wrapper element couldn't be used here I believe... any clue ?


    Thanks in advance

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    That's quite easy, actually. What you need is a series of 100% width divs, each one holding a band on color as a background image or background color.

    Inside each of those divs you have a centered inner div for the content area, set to the desired with (be it a pixel, em or % width).

  3. #3
    SitePoint Wizard
    Join Date
    Feb 2009
    Posts
    1,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ARRGHHRRRRTTT

    Indeed. :P


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
  •