Results 1 to 2 of 2

Thread: Help with CSS Fluid design but not 100% width

  1. #1
    Join Date
    Mar 2005
    Location
    Western Australia
    Posts
    148
    Thanks
    24
    Thanked 4 Times in 4 Posts

    Default Help with CSS Fluid design but not 100% width

    Hi guys

    Had a look at the CSS Templates at

    http://www.dynamicdrive.com/style/layouts/category/C9/

    and in particular

    http://www.dynamicdrive.com/style/la...1-fixed-fluid/

    But what I want to know is how do I get the same fluid main content area (right side) but restrict the overall page width to a max-width or even a percentage - like 90%?

    Thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    If you're using the same class/id names, just add this to your CSS

    Code:
    #maincontainer
    { 
          width: 90%; 
    }
    replace the 90% with whatever percentage you want or with pixels etc...

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
  •