#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    1
    Rep Power
    0

    CSS box margins incorrect across browsers


    Hello,

    I have a fairly simple page up at http://www.stat.purdue.edu/~btyner . Right now the CSS box margins are formatted so that the layout is correct in IE; however this means that in Mozilla, the bottom content gets pushed too far down and is not wide enough. Conversely, if I make it look correct in Mozilla, then in IE the opposite effect occurs. My goal is to make is to have the same layout in IE and Mozilla (IE for Mac is only off by a few pixels compared to IE for Windows; honestly right now IE for Mac is not a big priority). I'm aware of the many IE CSS bugs; but I'm not sure exactly which one is causing this problem or whether there even exists a simple workaround. Any ideas would be greatly appreciated.

    Thanks
    Ben
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,268
    Rep Power
    1955
    Check out this site;

    http://www.tantek.com/CSS/Examples/boxmodelhack.html

    I think this may have your answer.

    cheers,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.

IMN logo majestic logo threadwatch logo seochat tools logo