SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with my layout.

    Ok, I have a Pure CSS layout over at http://www.bonxa.com. All is good untill it's at a minimized level, or in IE you open your favourites; it drops down so there's a space above, what's the matter with it?

    Stylesheet - http://www.bonxa.com/wordpress/wp-co...s/v3/style.css

    IE - http://www.bonxa.com/wordpress/wp-co...emes/v3/ie.css.

    You probably won't need the IE stylesheet as it does it in FireFox and Opera as well.

    Thanks in advance
    -
    ChrisGilmore

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The way you've set your layout up, assuming the centre will always be longer, you don't need to float the centre column or give it a width; just give it left and right margins equal to the widths of the outside columns.

    And to centre your layout, you'd be better doing this:

    Code:
    #wrap {
    	margin-left: auto;
    	margin-right: auto;
    	width: 90%;
    }

  3. #3
    SitePoint Enthusiast S.Vasiliy's Avatar
    Join Date
    May 2006
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can remove your borders from #content or change your width to be less in your #third or #navigation


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
  •