SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Sep 2003
    Location
    Northern California
    Posts
    605
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Gaps between Div's (FF)

    example

    I want to have no gap between the menu and main content as well as the content and footer.

    Any tips are appreciated...I checked the FAQ..didn't see what I needed.

  2. #2
    SitePoint Evangelist Ed Seedhouse's Avatar
    Join Date
    Aug 2006
    Location
    Victoria, B.C. Canada
    Posts
    592
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mgm_03
    example

    I want to have no gap between the menu and main content as well as the content and footer.

    Any tips are appreciated...I checked the FAQ..didn't see what I needed.
    Invalid xhtml. What do you expect?
    Ed Seedhouse

  3. #3
    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)
    Quote Originally Posted by Ed Seedhouse
    Invalid xhtml. What do you expect?
    You've really got to get a new record. Particularly when the invalidities in the HTML (missing / from the images etc) aren't the source of the OP's problem.

  4. #4
    SitePoint Guru
    Join Date
    Sep 2003
    Location
    Northern California
    Posts
    605
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    all4nerds....thanks for your reply. I will need to find out about the 100%model as it is news to me. I may have been unclear. I want to center the page horizontally only.

    A few questions...

    margin: -105px auto 0 auto;
    negative top margin results in hiding the masthead ?

    #wrapper img{float:left;border-top:120px solid #ffffff;}
    why would I want a 120px border ?
    Also, wouldn't this rule apply to every img inside my wrapper which is not necessarily what I want?

    #navlist li
    why not use display:inline?

    #navlist a
    why use 'display:block' ? ...seems counter-intuitive

    .fo img{float:left;border-bottom:15px solid #ffffff;}
    Again, why include a border ?

    li {margin:.6em 0} ...why is this risky?

    I ask these questions to learn not to be a pain.


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
  •