|
Thanks, that works perfect!
I am now trying to get my text to align center inside my DIV tags, and it works with the h2 tag, but for some reason I cant get it to align center with a class tag using the same settings? Actually if I treat the class as a DIV, it works; for center aligned footer text, should I treat this as a DIV, Class, or H3 ?
<html>
<head>
<style type="text/css">
#footer {
padding: 0;
border-top: 1px solid #626262;
background: #cccccc repeat-x;
position: absolute;
height: 260px;
width: 100%;
}
#verysmall {
font-family: Arial, helvetica, sans-serif;
font-size: 12px;
padding-top: 15px;
color: #333333;
line-height: 20px;
text-align: center;
}
.small {
font-family: Arial, helvetica, sans-serif;
font-size: 12px;
padding-top: 15px;
color: #333333;
line-height: 20px;
text-align: center;
}
h2 {
font-family: Arial, helvetica, sans-serif;
font-size: 12px;
padding-top: 15px;
color: #333333;
line-height: 20px;
text-align: center;
}
</style>
</head>
<body>
<table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="910" height="1000"> </td>
</tr>
</table>
<div ID="footer">
<H2>New Website </H2>
<span class="small">New Website </span>
<div id="verysmall> new site </div>
</div>
</body>
</html>
Thanks!
Last edited by Boar; 11-21-2007 at 12:36 PM..
|