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
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Div Stretching issues (PC users definitely look)

    So i'm having some issues on a site.

    To browse take a look here: Group

    The main contain frame (#frame)which contains all the rest of the content is not sizing based on that content. It has creeped up as if it isn't defined properly(which of course its not). Of course this is only an issue in IE6 and 7.

    Here is the link to the CSS sheet: CSS

    I've tried a couple things but I can't test effectively as I do my work on a Mac and IE5 has shows no similar issues.

    I would say i'm a novice, but effective coder who is just trying to get better and I constantly run into this issue.

    Issue# 2

    When i define a margin-left: at 20px for the div body_contain on the same page in IE7 is balances both the left and right margin fine. If i keep it defined as that anyone using IE6 will see the frame pushed further to the right, but if i change the margin-left to 10px its balanced in IE6, but becomes f'd in IE7. Sorry don't have both examples, but you should notice an unbalanced space on this page when you view it.


    out of breath.

  • #2
    New Coder
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    5
    Thanked 9 Times in 9 Posts
    quickfix:

    Code:
    <!--[if gte IE 6]>
    <style type = "text/css">
    #bodycontain
    {
    margin-left:10px;
    }
    </style>
    <![endif]-->
    Last edited by dcostalis; 10-19-2007 at 10:31 PM. Reason: fixed code


  •  

    Posting Permissions

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