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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [CSS]IE, Layout looks messy, FFX it looks fine

    I recently came over my problems with positioning with div's.

    Now, everything looks just fine, and stays put in Firefox, while in IE I get some errors for the layout positioning, some elements are misplaced or get shortened out...

    The link may be found here: http://brcosmin.evonet.ro/test/

    Thank you.

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by Nemuro View Post
    Now, everything looks just fine, and stays put in Firefox, while in IE I get some errors for the layout positioning, some elements are misplaced or get shortened out...
    For some reason IE does not always let the box height go below the currently set font-size which usually means around 19px. From your CSS:
    Code:
    #TopLeft, #BottomLeft {
    	height:	11px;
    	width: 11px;
    }
    You can try some workarounds from here: http://bonrouge.com/~faq#shortdiv

    You can also try to replace this:
    Code:
    <div id="LeftBorder"></div>
    with this:
    Code:
    <div id="LeftBorder"><!----></div>


  •  

    Posting Permissions

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