Current location: Hot Scripts Forums » General Web Coding » CSS » css works in firefox but not in ie... need help!!! please


css works in firefox but not in ie... need help!!! please

Reply
  #1 (permalink)  
Old 02-03-12, 04:46 PM
williamh26 williamh26 is offline
Wannabe Coder
 
Join Date: Jul 2010
Posts: 132
Thanks: 2
Thanked 0 Times in 0 Posts
css works in firefox but not in ie... need help!!! please

This is my website : Awesone Maids Cleaning Services- www.awesonemaids.com , it works good in firefox but not in IE. can someone help me please . This is the css code
PHP Code:





/* Color Legend */


/* Reset */

htmlbody margin0padding0border0;  backgroundtransparentfont-size:10px; }

divspanarticleasidefooterheaderhgroupnavsection,
h1h2h3h4h5h6pblockquoteaolulli
tabletrthtdtbodytfootthead {
    
margin0;
    
padding0;
    
border0;
    
vertical-alignbaseline;
    
backgroundtransparent;
    }

img     margin:0padding:0border:0; }

tabletrthtdtbodytfootthead {
    
margin0padding0border0;
    
vertical-alignbaseline;
    
backgroundtransparent;
    }
    
table border-collapsecollapseborder-spacing0; }
    
inputselecttextareaformfieldset {
    
margin0padding0border0;
    }

articleasidedialogfigurefooterheaderhgroupnavsection 
    
display:block; }

h1h2h3h4h5h6pliblockquotetdthacaptionemstrongbiustrike 
    
font-familyArialHelveticasans-serif;
    
font-size:100%;
    
font-weightnormal;
    
font-stylenormal;
    
line-height100%; 
    
text-indent0;
    
text-decorationnone;
    
text-alignleft;
    
color#000;
    
}

olul { list-stylenone; }


/* Global */

html     {     }
body    text-align:centerbackground-color:#BA8C78; background-image:url(../images/bg.jpg);    }



/* Headings */

h1h2h3h4h5h6 font-weightboldcolor#000; }

h1 font-size:24pxmargin-top:30pxcolor:#CA6500;
        
border-bottom:1px #ccc solid; padding-bottom:15px; margin-bottom:15px; }
h2 font-size:20pxmargin:30px 0px 20px 0px; }
h3 font-size:16pxmargin-top:5px; }
h4 font-size:14px; }
h5 font-size:14px; }
h6 font-size:14px; }

h1 imgh2 imgh3 imgh4 imgh5 imgh6 img margin0; }



/* Text Elements */

p               color:#000; font-size:12px; line-height:150%; margin-top:10px;  }
p.left            margin1.5em 1.5em 1.5em 0padding0; }
p.right         margin1.5em 0 1.5em 1.5empadding0; }
p.news-date        color:#CA6500; font-weight:bold;    }
p.news-item        margin-bottom:20px;    }

a               {   }
a:link            color#00f;  }
a:visited        color#0f0;  }
a:active        color#000;  }
a:focus            color#666;  }
a:hover         color#f00;  }

blockquote      color:#000; font-size:12px; }

strong          font-weightbold; }
em                  font-styleitalic; }

/* Images */

.image-block    padding:10pxborder:1px #ccc solid; margin:10px; }

/* Lists */

ul              {  }
ol              { list-style-type:decimal; }

ul li            color:#000; font-size:12px; }
ol li             color:#000; font-size:12px; }

dl              {      }
dt               {      }
dd              {     }



/* Tables */

table           width:100%; }

tr                {    }
.
odd            background-color:#eee; }
.even            background-color:#fff; }

th              font-weightbold; }
theadth        background#ccc; }

tbody            {   }

th,td,caption     {     }
caption         {     }

tfoot           {    }
.
tfooter        background-color:#ccc; text-align:center; font-style:italic; }

caption         background#efefef; }



/* Miscellaneous */

supsub        line-height0; }

abbracronym   border-bottom1px dotted #666; }
address         {      }
del             background:#FFCECE; color:#f00; }

codepre        background-color:#FF9; padding:2px 0px; margin:4px 25px;
                    
font-family:"Courier New"Couriermonospacefont-size:12pxfont-weight:normalline-height:150%;    }


/* Containers */

#outer                { width:960px; margin:0 auto; background-color:#fff; }

#wrapper             { width:900px; margin:0 auto; background-color:#fff;  }

#banner             { margin:30px 0 20px 0px; float:left;  }

#social-media-icons            { float:right;    }
#social-media-icons    ul        { margin-top:40px; }
#social-media-icons    ul li    { display:inline; }

#topnav             { clear:both;   }

#subbanner             {   }



#rightside             { padding:10px; margin-left:680px;  }
#rightsideindex     { padding:10px; margin-left:680px;  }



#content             { float:left; width:650px;  }
#contentresidential { float:left; width:900px;  }

#contentindex       { float:left; width:650px; clear:both: overflow:hidden;  }






#content-full        { width:100% }

#footer             { margin-top:30px; border-top:1px #333 dotted; padding:3px 0px 30px 0px;  }

#box1 { width:250px; margin:20px 10px 10px 0px; float:left; 
        
background-color:#eee; border-top:10px #A85400 solid; }

#box2 { width:250px; margin:20px 50px 10px 50px; float:left; 
        
background-color:#eee; border-top:10px #948245 solid; }

#box3 { width:250px; margin:20px 10px 10px 10px; float:left; 
        
background-color:#eee; border-top:10px #9B9B00 solid;  }

#box1 h2, #box2 h2, #box3 h2 { margin:0; padding:0 0 10px 0; color:#A43500; border-bottom:1px #bbb solid; }
        
#box1 h3, #box2 h3, #box3 h3 { margin:20px 10px 10px 10px; }
#box1 p, #box2 p, #box3 p { margin:10px 10px; }

#box4 {   }

#box5 {   }

#box6 {   }


/* Layout Extra */



/* Navigation Extra */


#topnav ul {
    
width100%; /* menu will fill 100% of wrapper container  */
    
padding:5px 0margin:10px 0
    
floatleft;
    
border-top:1px #333 solid; border-bottom:1px #333 solid; 
    
}

#topnav ul li { 
    
displayinline
    }

#topnav ul li a {
    
padding3px 15px/* Sets the Height and Width of the menu item*/
    
floatleft;
    
color#333; /* Sets the font color of the menu item text */
    
text-decorationnone/* removes the underline from underneath links */
    
}

#topnav ul li a:hover {
    
color:#CA6500;
    
}
/* Gallery */

#gallery ul li         { display:inline; }
#gallery ul li img    { padding:5px; border:1px #ccc solid; margin:5px; }


/* Forms */

form ol { list-style-type:none; }

form     text-align:leftmargin:20px;    }

label     
        
floatleftwidth150pxmargin-top:5px;
        
text-align:rightdisplay:blockbackground:none
        }
    
submit    background:none;     }

input     
        
width280pxmargin:0 0 16px 10px;
        
border:1px #bbb solid; padding:5px; background:none; 
        
}
        
input:focustextarea:focus    background-color:#FFD5AA; }

textarea {
        
width280pxheight150pxmargin:0 0 16px 10px;
        
border:1px #bbb solid; padding:5px; background:none; 
        
}

select margin-bottom:20px;    }
    
.
month margin-left:155px;    }

.
submit {
        
width:90pxheight:25px;
        
margin-left:170px;
        
font-size:12px;
        }

br        clearleft;     }

.
clear    clear:both; }


/* Miscellaneous  */

.copyright-text    font-size:80%; font-style:italiccolor:#333; }
.footer-text    font-size:100%; font-style:normalcolor:#666; text-align:center; }

.float-right    float:right; }
.
float-left        float:left; }

.
clear            clear:both; } 
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Navigation Rollovers equal in IE and Firefox _yo_wasup_ CSS 2 06-20-09 01:21 PM
CSS in Firefox Fearful CSS 5 04-18-09 12:49 PM
CSS for the Firefox UI (Chrome) Crane CSS 0 10-19-08 02:26 PM
page works in firefox but not IE aburrows182 HTML/XHTML/XML 2 04-29-07 06:39 PM
CSS border problem in firefox, looks good in IE vertigoflow CSS 1 02-18-06 10:30 AM


All times are GMT -5. The time now is 04:50 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.