PDA

View Full Version : Creating A HTML Page, Getting Parse Errors dont know how to fix it



dcshoeco1
28 Sep 2006, 06:12 PM
Im making a page where when users sign up on my website this page will describe what theyre getting when they pay. I copied from a website and modified it heavily to waht I like. I thought I cleaned it all up but im not a professional. Im getting "Parse Error" and Dream Weaver Picked Up these errors

The tag: "hr" doesn't have an attribute: "color" in currently active versions.[HTML 4.0] Line 17

In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.[HTML 4.0] Line 18

The tag: "hr" doesn't have an attribute: "color" in currently active versions.[HTML 4.0] Line 21

The tag: "table" doesn't have an attribute: "cellpadding-right" in currently active versions.[HTML 4.0] Line 24

The tag: "hr" doesn't have an attribute: "color" in currently active versions.[HTML 4.0] Line 28

The tag: "hr" doesn't have an attribute: "color" in currently active versions.[HTML 4.0] Line 30


Any Help would be Appreciated,Thanks


<link rel="STYLESHEET" type="text/css" href="postlistings.asp_files/main2.css">
<link rel="STYLESHEET" type="text/css" href="postlistings.asp_files/main.css">
<style type="text/css">
.style1 {font-size: 20px}
</style>
<tbody><tr>
<td><table bgcolor="white" border="0" cellpadding="0" cellspacing="0" width="560">
<tbody><tr>
<td class="articletd" valign="top" width="560"> <!-- bread crumbs-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td colspan="2"><h3>&nbsp;</h3>
<h3 class="style1">Sell your Home on TargetGo.com </h3></td>
</tr>
<tr>
<td height="85">
<hr color="#ffcc33">
<p align="left"><b><font size="3">Display As Many Home listings As You Wish on
<br>
TargetGo.com. $24.99 for a 3 month Subscription </font></b></p>
<hr color="#ffcc33"></td>
</tr>
<tr>
<td><table cellpadding-right="3" border="0" cellspacing="3" width="100%">
<tbody><tr>
<td valign="top" width="60%"><img src="Noname.jpg" width="340" height="469"><br> </td>
<td rowspan="2" valign="top" width="40%">
<hr color="#ffcc33" size="1">
<strong>What are the benifets of listing on TargetGo.com? </strong>
<hr color="#ffcc33" size="1">
<div class="secondary_subtext">Differentiate yourself in listings presentations by telling your customers that their listings will
appear on TargetGo.com. This service will cost you a fraction of what other types of
advertising cost! <br>
<br>
<strong>TargetGo.com provides:</strong><br>
<br>
<strong>National Exposure.</strong> Expose your listings to more than 1.5 million TargetGo.com consumers
worldwide.The Ability to list detail to detail lets people find you easily<br>
<br>
<strong>Get your asking price &amp; more.</strong> Consumers interested in your home listings will contact you directly.
TargetGo.com will help you track these contacts and provide reports for you to pass along
to your customer.<br>
<br>
<strong>Realtors and Agents .</strong> Corner your market and close more sales. Get listed in our Realtor Section free of charge and let customers find you instantly <br>
<br></div>
</td>
<td valign="top">
<p align="justify" class="brown">&nbsp;</p>
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
</tbody></table> </td>
</tr>
</tbody></table> </td>
</tr>
</tbody></table>
</body>

Fantasiser
29 Sep 2006, 12:34 AM
Well with regards to your <hr> problem, use this in css so your css would be something like:

hr {
colour: 345;
}

and you HTML would just display the <hr> and because you have assigned the colour in your css it will display it properly.

And with regards to your <font> tags, it is true, font tags are no longer used. You need to assign fonts to different tags in your css, this way you can play around with your fonts easier in the css file.


And with regards to your cellpadding-right attribute, i have never used it, i have always just used cellpadding and cellspacing, does it make a difference if you remove the -right on your HTML?

Hope that helped ;)