[req] Coding Help

Discussion in 'GR Classic Archive' started by CaptainPeanuts, Apr 30, 2008.

Thread Status:
Not open for further replies.
  1. CaptainPeanuts

    CaptainPeanuts Senior Member

    Age:
    43
    Posts:
    2,083
    Likes Received:
    0
    Joined:
    Mar 3, 2006
    Location:
    Cape Canaveral ,FL
    Having an issue with IE6 recognizing float: tags in my CSS. Take a look at http://www.calloneonline.com. That's the way the pages should look. Now, go to http://calloneonline.com/business.html and you can see the difference. Keep in mind you HAVE to view this in IE6 for the error to be reproduced. IE7, Firefox, Safari, etc. are all fine. Here's my CSS...

    Code:
    body {margin:auto; text-align:center; font-family:verdana; font-size:10px; color:#2C2C2C; background-color:#e1e2e5;}
    
    /*p{text-align:left;padding-left:15px;padding-right:15px;}*/
    
    .upper_border{margin:auto; text-align:center; width:750px;height:25px;border:0px red solid; background-color:#000000;}
    
    .layout_panel {margin:auto;text-align:center; width:750px;border:0px red solid; background-color:#FFFFFF;}
    
    .header_panel {margin:auto; text-align:center; width:750px; height:30px; border:0px red solid;}
    
    .body_panel {margin:auto; text-align:center; overflow:hidden; text-align:center; width:750px; border:0px red solid; background-color:#F4F4F4; }
    
    .leftBody_panel{overflow:hidden;float:left; text-align:center; width:510px; margin:10px; background-color:#FFFFFF;border:0px blue solid;}
    
    .rightMenu_panel{overflow:hidden;float:left; margin:auto; text-align:left; width:200px; margin-top:10px; background-color:#FFFFFF;border:0px green solid;}
    
    .cart_panel{overflow:hidden;float:left; margin:auto; text-align:right; width:150px; margin-top:10px; background-color:#FFFFFF;border:0px green solid;}
    
    .footer_panel {margin:auto; text-align:center; overflow:hidden; text-align:center; width:750px; border:0px red solid; background-color:#F4F4F4;}
    
    .footer {overflow:hidden;margin:auto; text-align:center; font-style:normal; width:730px;margin-left:px;margin-right:10px;margin-top:0px; margin-bottom:5px;background-color:#FFFFFF;background-color:#000000; }
    
    .banner_panel {margin:auto; text-align:center; width:750px; height:100px; border-top:4px #444444 solid;background-image:url('images/header.jpg');}
    
    .header_text{padding-left:15px;padding-top:10px;font-family:verdana;font-size:18px;color:#40AFE4;text-align:left;font-variant:crisp;}
    
    .ad_text_left{padding-left:5px;padding-top:10px;font-family:verdana;font-size:13px;color:#40AFE4;text-align:left;}
    
    .ad_text_right{padding-top:10px;font-family:verdana;font-size:13px;color:#40AFE4;text-align:center;}
    
    .textlink,.textlink:active,.textlink:visited{font-family:verdana;font-size:9px;font-style:none;font-variant:crisp;font-weight:normal;color: #ffffff;text-align:justify;text-decoration:none;}
    .textlink:hover{font-family:verdana;font-size:9px;font-style:none;font-variant:crisp;font-weight:normal;color: #40AFE4;text-align:justify;text-decoration:none;}
    
    .rightMenu,.rightMenu:active,.rightMenu:visited{font-family:verdana;font-size:11px;font-style:none;font-variant:crisp;font-weight:normal;color: #000000;text-align:left;text-decoration:none;}
    .rightMenu:hover{font-family:verdana;font-size:11px;font-style:none;font-variant:crisp;font-weight:normal;color: #40AFE4;text-align:left;text-decoration:none;}
    
    .rightMenuDiv{overflow:hidden;float:right;margin:auto; width:165px; margin-left:10px;margin-right:10px;margin-bottom:5px; background-color:#FFFFFF;border:0px green solid;border-bottom: 1px #C9C9C9 solid;}
    
    .imgDiv{
        padding-bottom:7px;
        padding-top:5px;
    }
    
    .text{font-family:verdana;font-size:9px;font-style:none;font-variant:crisp;font-weight:normal;color:#ffffff;text-align:justify;text-decoration:none;}
    
    .bodyText{font-family:verdana;font-size:10px;font-style:none;font-variant:crisp;font-weight:normal;color: #000000;text-align:justify;text-decoration:none;}
    
    .rightMenuText{font-family:verdana;font-size:9px;font-weight:normal;color: #000000;text-align:center;}
    
    .content{
        font-family: verdana;
        font-size: 10px;
        font-style: none;
        font-variant: crisp;
        font-weight: normal;
        color: #000000;
        text-align: left;
        text-decoration: none;
        line-height: 18px;
    }
    
    .topMenu,.topMenu:active,.topMenu:visited{font-family:verdana;font-size:10px;font-style:none;font-variant:crisp;font-weight:normal;color: #FFFFFF;text-align:left;text-decoration:none;}
    .topMenu:hover{font-family:verdana;font-size:10px;font-style:none;font-variant:crisp;font-weight:normal;color: #FFFF00;text-align:justify;text-decoration:none;}
    First person to fix it, gets 500 creds or more!
     
  2. 614-TM

    614-TM Well-Known Member

    Age:
    37
    Posts:
    632
    Likes Received:
    0
    Joined:
    Aug 2, 2005
    Location:
    DETROIT.
    IE6 is awful with CSS, as is IE as a whole, just write a script that displays "your browser isn't a real browser, download firefox."

    or you could just write a new css specifically for IE6, unsure if conditional comments work with IE6 but it's worth a shot.

    Code:
    <!--[If IE 6]>
    IE6 CSS
    <![endif]-->
    <!-- If !IE]>
    non IE6 css.
    <![endif]-->
    HAS A NICE DAY.


    and conditional comments does work with IE6, works with IE5+
     
  3. travmanx

    travmanx Senior Member

    Age:
    37
    Posts:
    733
    Likes Received:
    0
    Joined:
    Oct 3, 2007
    Location:
    USA
    I agree, many sites do not work properly using IE6 for some reason. I guess they were to worried about the design of there piece rather than what it would produce..
     
Thread Status:
Not open for further replies.

Share This Page