Results 1 to 8 of 8

Thread: IE6 Float issue

  1. #1
    Join Date
    Jan 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation IE6 Float issue

    hey folks

    can you pls take a look here - http://bit.ly/aa1BiR
    in IE7 and IE8, Chrome and FF the header looks fine
    but in IE6 - there is sometghing very wrong with the header

    any ideas what it can be?

    Thanks!

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi, I can't really test it in ie 6, but couldn't help noticing an error in the css
    Code:
    #header h1 {
    	margin: 0;  
    	paddisng: 0;
    	text-indent: -9999px;
    	font-size:1%; 
    	float:left; 
    	width: 1px;
    }
    Don't know if that makes any difference though

  3. The Following User Says Thank You to azoomer For This Useful Post:

    snooper (08-22-2010)

  4. #3
    Join Date
    Jan 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thanks for the fix - but it didnt solve the current problem

  5. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi snooper
    this part with the conditionals also look a little strange
    Code:
    <link href="/includes/2.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <!--[if IE]>
    <style type="text/css"> 
    /* place css fixes for all versions of IE in this conditional comment */
    #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]>
    Like the ie5 statement is unclosed

    edit: and also the endif should be like this:
    <![endif]-->
    otherwise it will not close properly
    take a look at this link for formatting
    Last edited by azoomer; 08-22-2010 at 06:53 PM.

  6. #5
    Join Date
    Jan 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thanks again!

    but still doesnt effect this precise issue

  7. #6
    Join Date
    Jul 2008
    Location
    Serbia
    Posts
    47
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    Hi,

    Code:
    #header { 
    	background: #8C8984 url(../images/ui2/headerBG.gif) top left repeat-x;
    	height:150px;
            float:left;
            position:relative;
            display:inline;
    }
    
    #nav { position: absolute; top: 33px; right: 70px; height:28px; width:584px;}
    Add to h1 and #logo height and width

  8. #7
    Join Date
    Jan 2006
    Posts
    50
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thanks, but no - it did some weird stuf in both IE6 and IE8 - see attached (ie6 on the left, ie8 on the right)

  9. #8
    Join Date
    Jul 2008
    Location
    Serbia
    Posts
    47
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    Hi,

    Select element (div) by element (div) and set them display:none, that way you will find element that destroy layout.

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
  •