Hi friends,
I am new to the CSS but i have made a point in myself to help a friend of mine to develop a website for him.
Temp we are developing this site which is somehow running in the net. I am having problems in firefox. My webpage is fine in the internet explorer but not firefox. Can anybody help me start?
I need your help ! I guess that my CSS may have errors and internet explorer is automatically correcting it. Please guide my error. Thanks !
This is my CSS code:
#header {
display:block;
background-image:url(images/header.png);
height:129px;
width:899px;
}
#menu{
background-image:url(images/Menubar.png);
height:46px;
width:899px;
display:block;
text-align:left;
}
.footer{
background:#290027;
height:3px;
}
.footer h5{
font-family: sans-serif;
font-size: 10px;
color: white;
font-weight:200;
margin-left:15px;
margin-top:1px;
}
.contents{
background-image:url(images/bgcontents.png);
width:899px;
text-align:left;
}
.contents p{
margin-left:10px;
margin-top:10px;
font-family: lucida sans,sans-serif,Arial, Helvetica;
color: #000000;
font-weight: 900;
font-size:14px;
}
#container-nav{
margin-left:95px;
margin-top:5px;
}
a.nav{
float:left;
display:block;
style:none;
}
a.nav.home{
margin-right:15px;
width: 48px;
height:35px;
background: url(“images/m_home.png”) 0 0 no-repeat;
border-bottom:10px;
}
a.nav.home:hover{
background-position: 0 -36px;
}
#c_home{
margin-right:15px;
width: 48px;
height:35px;
background: url(“images/m_home.png”) 0 0 no-repeat;
background-position: 0 -36px;
}
a.nav.contact{
margin-right:15px;
width: 65px;
height:35px;
background: url(“images/m_Contact.png”) 0 0 no-repeat;
}
a.nav.contact:hover{
background-position: 0 -36px;
}
a.nav.catering{
margin-right:15px;
width: 79px;
height:35px;
background: url(“images/m_caterings.png”) 0 0 no-repeat;
}
a.nav.catering:hover{
background-position: 0 -36px;
}
a.nav.fashion{
margin-right:15px;
width: 128px;
height:35px;
background: url(“images/m_fashiondesign.png”) 0 0 no-repeat;
}
a.nav.fashion:hover{
background-position: 0 -36px;
}
p.main{
font-family: sans-serif;
font-size: 13px;
color: #290027;
}
p.main:first-letter {
font-size:18px;
}
div.main{
width: 760px;
margin-left:50px;
}
Thanks for any kind souls to help. Please guide me :)
I hope someone can advice me. Thanks !