Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Gap between divs in firefox ¡¡SOLVED!!

    http://spiderseatbabies.com/stupid/zip/zip.html

    It displays good in IE, but in firefox there is a gap between the header and the content/paddingfix divs
    Last edited by Ranger56; 08-13-2005 at 05:22 AM.

  • #2
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind, forgot about p's automatic margins, I just gave the first one a class and then made that
    PHP Code:
    margin-top:0
    in the css.

  • #3
    New Coder
    Join Date
    Jun 2005
    Location
    North Carolina
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Its because IE will collasp margins and padding. Fox wont as far is wich method is correct I would say FOX.

  • #4
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by IdolonWebDesign
    Its because IE will collasp margins and padding. Fox wont as far is wich method is correct I would say FOX.

    Yeah, firefox was doing it's job displaying stuff right and IE is a *****..

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by Ranger56
    Yeah, firefox was doing it's job displaying stuff right and IE is a *****..
    I believe if you use a Strict DOCTYPE then IE will behave a little better... could be wrong, but I do know IE with a Loose DOCTYPE makes things really difficult.

  • #6
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rmedek
    I believe if you use a Strict DOCTYPE then IE will behave a little better... could be wrong, but I do know IE with a Loose DOCTYPE makes things really difficult.

    This is just gonna be a little subdomain anyways, not much content at all.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •