Hiya,
It's been a while since I did any HTML, and I'm new to XHTML, and am in need of help! I have some basic code (work in progress) for my homepage and whilst it looks as it should in Safari (& Dreamweaver) but it doesn't load properly in IE. Any idea as to what I have done wrong / need to change?
Many thanks
Liz
http://www.bluebookba.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
body{background-color:#ffffff;}
div.title {width:auto;padding:5px;border:0px;margin:0px;text-align:center}
p.padding {padding-top:50px;}
p.main {text-align:center}
div.img {margin: 10px;border: 0px solid #0000ff;height: auto;width: auto;text-align: center;}
div.img img{display: inline;margin: 20px;border: 1px solid #ffffff;}
a:link {color:#FFFFFF}
a:visited {color:#FFFFFF}
</style>
<title>Blue Book BA - The Best of Buenos Aires</title>
</head>
<body>
<div class="title">
<p class="padding">
<a href="http://www.bluebookba.com/"><img src="logo2.jpg" width="400" height="auto" alt="BlueBookBA - The Best of Buenos Aires" /></a>
</p>
</div>
<div class="img">
<p class="main">
<a href="http://www.bluebookba.com/blog/"><img src="Logoblog6.jpg" width="200" height="auto" alt="The Miles Better Blog" padding="50px" /></a>
<a href="http://www.bluebookba.com/comingsoon.html"><img src="Logoreviews6.jpg" width="200" height="auto" alt="Reviews of The Best of Buenos Aires" padding="50px" /></a>
<a href="http://www.bluebookba.com/comingsoon.html"><img src="Logopolopony3.jpg" width="200" height="auto" alt="Polo Ponies for Sale" padding="50px" /></a>
</p>
</div>
</body>
</html>
It's been a while since I did any HTML, and I'm new to XHTML, and am in need of help! I have some basic code (work in progress) for my homepage and whilst it looks as it should in Safari (& Dreamweaver) but it doesn't load properly in IE. Any idea as to what I have done wrong / need to change?
Many thanks
Liz
http://www.bluebookba.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
body{background-color:#ffffff;}
div.title {width:auto;padding:5px;border:0px;margin:0px;text-align:center}
p.padding {padding-top:50px;}
p.main {text-align:center}
div.img {margin: 10px;border: 0px solid #0000ff;height: auto;width: auto;text-align: center;}
div.img img{display: inline;margin: 20px;border: 1px solid #ffffff;}
a:link {color:#FFFFFF}
a:visited {color:#FFFFFF}
</style>
<title>Blue Book BA - The Best of Buenos Aires</title>
</head>
<body>
<div class="title">
<p class="padding">
<a href="http://www.bluebookba.com/"><img src="logo2.jpg" width="400" height="auto" alt="BlueBookBA - The Best of Buenos Aires" /></a>
</p>
</div>
<div class="img">
<p class="main">
<a href="http://www.bluebookba.com/blog/"><img src="Logoblog6.jpg" width="200" height="auto" alt="The Miles Better Blog" padding="50px" /></a>
<a href="http://www.bluebookba.com/comingsoon.html"><img src="Logoreviews6.jpg" width="200" height="auto" alt="Reviews of The Best of Buenos Aires" padding="50px" /></a>
<a href="http://www.bluebookba.com/comingsoon.html"><img src="Logopolopony3.jpg" width="200" height="auto" alt="Polo Ponies for Sale" padding="50px" /></a>
</p>
</div>
</body>
</html>