morning
ok i got this morning with the intention of taking out all my <BR> tags and consigning them to the bin. so imagine my frustration when this happened:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
*{padding:0;margin:0;}
body{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 14px;
}
h1{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 20px;
padding-bottom: 10px;
}
.copy{
padding-left:25px;
margin:20px 195px 0;
border-left: 1px solid #0099FF;
}
.main{float:left;width:100%;margin:0 -235px 0 -200px;}
-->
</style>
</head>
<body>
<div class="main">
<div id="content" class="copy">
<h1>Content</h1>
<p>i want this to autostretch etc...i want this to autostretch etc etc etc
etc etc etc etc ...</p>
<p>i want this to autostretch etc...</p>
<p>i want this to autostretch etc...</p>
<p>i want this to autostretch etc...</p>
<p>i want this to <a href="#">autostretch</a> etc...</p>
<p>i want this to autostretch...</p>
</div>
</div>
</body>
</html>
as you can see, all my copy is bunched up with no para spaces. all i can think is that i need to define my <p> tag as a class. i did think though that because <p> was semantic html, this wouldn't be neccesary. would that be wrong?
thanks
Bookmarks