Need help to get this working also with IE6
Posted: 30 December 2009 01:02 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2009-12-30

Hi,

I am quite new to css and can basically work with it but this time I came up with a customer whose clients mostly still use IE6… and I had to do some image navigation which is not working with IE 6…. please can someone help me to get this workin??

font {
    font
-familyVerdanaArialHelveticasans-serif;
    
font-size12px;

}
.ala {
    font
-familyVerdanaArialHelveticasans-serif;
    
font-size12px;
    
color#FFFFFF;
}
p {
    font
-familyVerdanaArialHelveticasans-serif;
    
font-size12px;
    
color#000000;
}
li {
    font
-familyVerdanaArialHelveticasans-serif;
    
font-size12px;
    
color#000000;
}
td {
    font
-familyVerdanaArialHelveticasans-serif;
    
font-size12px;
    
color#000000;
}
.uutuus {
    color
#CC3300;
}
    
/*<![CDATA[*/
    
{ margin0padding0}
    body {     
        margin
1em;    
        
font83%/140Verdana,Arial,Helvetica,sans-serif; ;
    
}
    h2 { 
        font
normal 150"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif
    
}
    
    h3 { 
        margin
-bottom1em;
        
fontnormal 130"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif
    
}
    
    p { margin
0.5em 0}
    a { text
-decorationnonefont-weightbold}
    a
:hover { text-decorationunderline}
    
.nav a:hover { text-decorationnone}
    small { line
-height120%; }
    
    
.clear:after {
        content
"."
        
displayblock
        
height0
        
clearboth
        
visibilityhidden;
    
}

    
.clear { displayinline-block}
    
    
/* Hides from IE-mac \*/
    
html .clear { height1%; }
    
.clear { displayblock}
    
/* End hide from IE-mac */
    
    /* image replacement general properties */
    
ul.IR li { 
        position
relative;
        
/* The original method recommends setting this so that the text doesn't peak out if you resize the text.
           But overflow also includes our dropdown list, so we need the overflow to be visible. */
        /*overflow: hidden; */
        
font-size0.9em;
    
}
            
    
.IR em {
        display
block;
        
positionabsolute;
        
top0left0;
        
z-index1;
    
}
    
    
/* For IE5.x mac only */
    
html>body    .IR { 
        position
: static;
        
overflowvisible;
        
font-size10px;
  
}
    
html>body .IR em  { position: static; }
    
    
/* image replacement specific properties */
    
.nav { list-stylenone}
    
.nav li { floatleftpadding-bottom10px/* add a little bottom padding to make sure the 
                                                                              sub menus don't disappear before selecting them */
    
.nav li, .nav li em { width141pxheight43px}
    
    
html>body ul.nav li em { margin-bottom: -43px/* for ie5.x/mac only */
    
    
.link1 em, .link2 em, .link3 em, .link4 em, .link5 em, .link6 em{ 
        background
url(images/nav_Home.jpgno-repeat
        
cursorpointer;
        
/* IE5 requires cursor: hand; however this is not valid CSS2 */
    
}
    
.link1 { left0}
    
.link1 em { background-position0 0}
    
.link1:hover em { background-position0 0}
    
.link2 { left0px}
    
.link2 em { background-position: -141px 0}
    
.link2:hover em { background-position: -141px 0px}
    
.link3 { left0px}
    
.link3 em { background-position: -282px 0}
    
.link3:hover em { background-position: -282px 0px}
    
.link4 { left0px}
    
.link4 em { background-position: -423px 0}
    
.link4:hover em { background-position: -423px 0px}
    
.link5 { left0px}    
    
.link5 em { background-position: -564px 0}
    
.link5:hover em { background-position: -564px 0px}
    
.link6 { left0px}
    
.link6 em { background-position: -705px 0}
    
.link6:hover em { background-position: -705px 0px}
    
    
.nav a { font-weightnormal}
    
html .nav a { height1%; }
    
    
.nav li ul {
        position
absolute;
        
top43px/* position the dropdowns a set distance from the top of the image */
        
left: -999em;
        
width15em;
        list-
style:none;
        
background#032f85

    
}
    
    
.nav li:hover ul { leftauto}
    
    
.nav li li {
        height
auto/* reset the height and padding set on the IR list items */
        
padding-bottom0;
        
font-size110%;
        
/*border-bottom: 1px solid #FFCC00;*/
    
}
    
    
.nav li ul a {
        padding
0.15em;
        
color#FFFF00;
        
background#032f85;
    
}
    
.nav li ul a:hover {
        color
#FFFFFF;
        
background#032f85;
    
}
    
/*]]>*/ 
Profile
 
 
Posted: 08 January 2010 11:52 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  2
Joined  2009-12-30

The problem is that the navigation does not show the different drop down options… it works fine in IE7/8 and Firefox…..
I suppose the problem is small, but I cannot seem to find it…
Maybe its the IE5 section of the code thats not working…
Online site: http://www.lifemed.fi

Profile
 
 
Posted: 22 January 2010 10:34 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  1
Joined  2010-01-22

hello sir

i m priyanshu from India

Please look at http://www.cleanandcreative.com in any browser on a PC or MAC and you’ll see the logo.png (http://www.cleanandcreative.com/wp-c…mages/logo.png) show up ...

BUT once you jump on a pc and view the site in Internet Explorer, the logo just disappears? Its weird because none of the styling is messed up, just a missing logo.png?

Can anyone help me out on this?

thanks for supporting

Profile