Hi everyone, this is my first post let me introduce myself, I have had web programing experience in the past and I just recently got back into web design and coding. I knew PHP, XHTML 1.0 and mySQL.
I'm developing a website for my photography company and I need some help.
when I run my page in Internet Explorer or Google Chrome, I get borders around the button on my menu at the top. They do not appear in FireFox so essentially, how do I get rid of the borders. Thanks in advanced! If you open my link, you'll see what I mean:
http://beta.AndrewKoberPhotography.com/
and here's my source code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Andrew Kober Photography</title>
<meta name="keywords" content="Andrew Kober Photography, Photography, Photos, Studio, Washington D.C., Virginia">
<style type="text/css">
img {
border: none;
}
a {
border: none;
text-decoration: off;
}
#menu{
width: 1024px;
height: 68px;
margin-left: auto;
margin-right: auto;
border: 0;
}
img.home {
background: url("images/home.jpg");
width: 104px;
height: 68px;
display: block;
float: left;
}
img.home:hover {
background: url("images/home_roll.jpg");
background-postition: -150px 0;
}
img.portfolio{
width: 132px;
height: 68px;
background: url("images/portfolio.jpg");
display: block;
position: abosulute;
right: 0px;
float: left;
}
img.portfolio:hover {
background: url("images/portfolio_roll.jpg");
}
img.tears {
background: url("images/tears.jpg");
width: 100px;
height: 68px;
display: block;
float: left;
}
img.tears:hover {
background: url("images/tears_roll.jpg");
}
#container {
width: 1024px;
margin-left: auto;
margin-right: auto;
}
img.bio {
background: url("images/bio.jpg");
width: 84px;
height: 68px;
display: block;
float: left;
}
img.bio:hover {
background: url("images/bio_roll.jpg");
}
img.contact {
background: url("images/contact.jpg");
width: 137px;
height: 68px;
display: block;
float: left;
}
img.contact:hover {
background: url("images/contact_roll.jpg");
}
img.spacermenu {
background: url("images/spacer_menu.jpg");
width: 467px;
height: 68px;
display: block;
float: left;
}
.left{
width: 404px;
height: 507px;
background: #000000;
float: left;
color: #FFFFFF;
font-family: Verdana;
font-size: 11px;
}
.right{
width: 620px;
height: 507px;
float: right;
}
h1{
font-family: Verdana;
font-size: 16px;
}
body {
}
</style>
</head>
<body bgcolor=000000>
<div id="container">
<div id="menu">
<a href="index.htm"><img class="home"/></a><a href="portfolio.htm"><img class="portfolio" /></a><a href="tears.htm"><img class="tears" /></a><a href="bio.htm"> <img class="bio" /></a><a href="contact"><img class="contact" /></a><img class="spacermenu" />
</div>
<div class="left">
<img src="images/banner.jpg" />
<br />
<h1>
Welcome
</h1>
<br />
<b>10-08-12</b>-Andrew Kober Photography is currently underconstruction and will be up soon. Thank you for visiting!
</div>
<div class="right">
<img src="images/cam.jpg" />
</div>
</div>
</body>
</html>