SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast SComm's Avatar
    Join Date
    Mar 2004
    Location
    Texas
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox Margin Bug?

    I have built a two column layout with column one positioned absolutely to the top left corner and column two placed normally with a left margin the width of column one. The problem arises in Firefox and Safari (the only others I've tested besides IE mac) when I place a top margin on the first element in column two. No matter what I do column one always aligns against the margin of column two instead of against the container. So, I have a 2px margin on column one and a 2px margin on column two which gives column one a total of 4px top margin. Any ideas?

    My css is a little messy right now so if you have any problems with it let me know and I'll try to clean it up a bit.

    HTML

    CSS

  2. #2
    SitePoint Enthusiast SComm's Avatar
    Join Date
    Mar 2004
    Location
    Texas
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just looked at it in IE6 for windows. Column one is using column two for its vertical and horizontal positioning context????? I have done this type of layout before with no hitches I just can't seem to find my error.


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
  •