swantonbomb88
New Member
- Messages
- 66
- Reaction score
- 0
- Points
- 0
well im having a problem, im trying to code something and this keeps happening:
thats in firefox, this is in internet explorer:
can someone please help me?
plus rep for whoever
heres the css/html codes im using:
and waht it should look like:
thats in firefox, this is in internet explorer:
can someone please help me?
plus rep for whoever
heres the css/html codes im using:
HTML:
body {
margin:0px;
background-color: #6d3b00;
}
img {
border:0px
}
a.home {
background: url(images/home.jpg) no-repeat;
background-position: 0px 0px;
width:81px;
height:30px;
display:block;
}
a.home:hover {
background: url(images/home_hover.jpg) no-repeat;
background-position: 0px 0px;
width:81px;
height:30px;
display:block;
}
a.forums {
background: url(images/forums.jpg) no-repeat;
background-position: 0px 0px;
width:63px;
height:30px;
display:block;
}
a.forums:hover {
background: url(images/forums_hover.jpg) no-repeat;
background-position: 0px 0px;
width:63px;
height:30px;
display:block;
}
a.about {
background: url(images/about.jpg) no-repeat;
background-position: 0px 0px;
width:45px;
height:30px;
display:block;
}
a.about:hover {
background: url(images/about_hover.jpg) no-repeat;
background-position: 0px 0px;
width:45px;
height:30px;
display:block;
}
a.trackmania {
background: url(images/trackmania.jpg) no-repeat;
background-position: 0px 0px;
width:98px;
height:30px;
display:block;
}
a.trackmania:hover {
background: url(images/trackmania_hover.jpg) no-repeat;
background-position: 0px 0px;
width:98px;
height:30px;
display:block;
}
a.videos {
background: url(images/myvids.jpg) no-repeat;
background-position: 0px 0px;
width:86px;
height:30px;
display:block;
}
a.videos:hover {
background: url(images/myvids_hover.jpg) no-repeat;
background-position: 0px 0px;
width:86px;
height:30px;
display:block;
}
a.graphics {
background: url(images/graphics.jpg) no-repeat;
background-position: 0px 0px;
width:74px;
height:30px;
display:block;
}
a.graphics:hover {
background: url(images/graphics_hover.jpg) no-repeat;
background-position: 0px 0px;
width:74px;
height:30px;
display:block;
}
a.contact {
background: url(images/contact.jpg) no-repeat;
background-position: 0px 0px;
width:141px;
height:30px;
display:block;
}
a.contact:hover {
background: url(images/contact_hover.jpg) no-repeat;
background-position: 0px 0px;
width:141px;
height:30px;
display:block;
}
.boxmid {
background:url(images/bgmid.jpg) repeat-y;
width:588px;
color:#fb8807;
font-family:Arial;
}
.boxbottom {
background:url(images/bgbottom.jpg) no-repeat;
width:588px;
height:45px;
}
.adspace {
background:url(images/adspace.jpg) no-repeat;
width:468px;
height:60px;
}
p {
color: #fb8807;
}
h1 {
color: #fb8807;
size:35px;
}
hr {
border: 0;
width: 228px;
background:url(images/hr.jpg);
}
HTML:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>Swanton's Site - Home</title>
</head>
<body>
<p>
<center>
<img src="http://forums.x10hosting.com/images/logo.jpg">
<table cellpadding="0px" cellspacing="0px">
<tr>
<td><a class="home" href="index.htm"></a></td>
<td><a class="forums" href="forums"></a></td>
<td><a class="about" href="about.htm"></a></td>
<td><a class="trackmania" href="trackmania.htm"></a></td>
<td><a class="videos" href="myvids.htm"></a></td>
<td><a class="graphics" href="graphics.htm"></a></td>
<td><a class="contact" href="contact.htm"></a></td>
</tr>
</table>
<div class="boxmid">
<div class="adspace">
<script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script>
</div>
<h1>TEST</h1>
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
<hr>
</div>
<div class="boxbottom">
</div>
</center>
<center>
<p>
© Copyright 2008
</center>
</center>
</body>
</html>
and waht it should look like:
Last edited: