gib65
02-17-2012, 11:00 PM
Hello,
Please have a look at this site: http://www.shahspace.com/bow/home.html
As you can see, I have two div colored pink and some space between them and around them. I'd like to get rid of all spacing but I can't.
Here's the code:
<html>
<head>
<title>The Bow Tower</title>
<style>
body
{
background: url('content_bg.jpg');
background-repeat: repeat-x;
}
#textdiv
{
width: 230px;
height: 100%;
background-color: #ffaaaa;
float: left;
padding: 0;
margin: 0;
}
#imgdiv
{
width: 250px;
height: 100%;
background-color: #ffaaaa;
padding: 0;
margin: 0;
}
span
{
font-size: 18pt;
font-family: verdana;
font-weight: bold;
}
</style>
</head>
<body>
<div id="textdiv">
<br>
<br>
<span>
The Bow Tower<br>
</span>
<br>
<br>
<ul>
<li><a href="services.html">Services</a></li>
<li><a href="information.html">Information</a></li>
<li><a href="health_safety.html">Health and Safety</a>
<li><a href="index.html">Index</a>
</ul>
</div>
<div id="imgdiv"><img align=right src="bow tower.jpg" border=0></div>
</tr>
</table>
</body>
</html>
What can I do to get rid of the spacing (I'm working in IE9).
Please have a look at this site: http://www.shahspace.com/bow/home.html
As you can see, I have two div colored pink and some space between them and around them. I'd like to get rid of all spacing but I can't.
Here's the code:
<html>
<head>
<title>The Bow Tower</title>
<style>
body
{
background: url('content_bg.jpg');
background-repeat: repeat-x;
}
#textdiv
{
width: 230px;
height: 100%;
background-color: #ffaaaa;
float: left;
padding: 0;
margin: 0;
}
#imgdiv
{
width: 250px;
height: 100%;
background-color: #ffaaaa;
padding: 0;
margin: 0;
}
span
{
font-size: 18pt;
font-family: verdana;
font-weight: bold;
}
</style>
</head>
<body>
<div id="textdiv">
<br>
<br>
<span>
The Bow Tower<br>
</span>
<br>
<br>
<ul>
<li><a href="services.html">Services</a></li>
<li><a href="information.html">Information</a></li>
<li><a href="health_safety.html">Health and Safety</a>
<li><a href="index.html">Index</a>
</ul>
</div>
<div id="imgdiv"><img align=right src="bow tower.jpg" border=0></div>
</tr>
</table>
</body>
</html>
What can I do to get rid of the spacing (I'm working in IE9).