SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard subnet_rx's Avatar
    Join Date
    Aug 2001
    Location
    Hattiesburg, MS
    Posts
    1,085
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    One column, fluid design?

    Is it possible to have a fluid design if it's only one column? I mean, I've read the 3 column, 2 column, etc. But I would think if your trying to just put 3 rows down a page, and you want one row to expand if necessary, it would be a lot easier.

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by subnet_rx
    Is it possible to have a fluid design if it's only one column? I mean, I've read the 3 column, 2 column, etc. But I would think if your trying to just put 3 rows down a page, and you want one row to expand if necessary, it would be a lot easier.
    It would be a lot easier. Here's an example:
    Code:
    #header, #footer {
      width: 600px;
      background: blue;
      color: white;
    }
    #content {
      background: lime;
      color: black;
    }
    HTML Code:
    <div id="header">My header</div>
    <div id="content">This is stretchy content. Just add more text and watch it fill to the edge of the screen.</div>
    <div id="footer">My footer</div>


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
  •