SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Oct 2004
    Location
    South Africa
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Yes, Firefox gap at bottom of page

    Very very simple problem, demo here -
    http://www.c9.co.za/files/divtest.htm

    I tried a search here - found nothing. I see that www.urbantoys.ca has the same problem.

    Many thanks for any help!

  2. #2
    \m/\m/ karinne's Avatar
    Join Date
    Dec 2002
    Location
    Aylmer, QC, Canada
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm... it's probably you <p>...</p> that's adding that space

    try adding this to your css

    HTML Code:
    p {
      margin-bottom: 0;
      padding-bottom: 0;
    }

  3. #3
    SitePoint Member
    Join Date
    Oct 2004
    Location
    South Africa
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, beautiful! Thank you!

  4. #4
    SitePoint Member
    Join Date
    Oct 2004
    Location
    Grand Rapids, Michigan
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    all html tags that are normally display: block inherently (i believe everything but <li>, <a>, <span>) have browser-applied margin and padding; Moz and IE add different specs. adding

    HTML Code:
    html * {margin: 0; padding: 0;}
    fixes that right away.

  5. #5
    SitePoint Member
    Join Date
    Oct 2004
    Location
    South Africa
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! CSS beginning to look like a good idea .. From many sites it is clear that designers don't know about this point.


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
  •