header - Post ID 229973

User 478472 Photo


Registered User
17 posts

I just got the Coffeecup theme "Birdie"
I want the verbage to display at the top of the page even with the PGA Logo, What do I need to do to fix this?

<header>
<div style=" text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table width="100%" border="1" cellpadding="2" cellspacing="2" style="background-color: #ffffff;">
<tr valign="top">
<td style="border-width : 0px;"><img src="pga new logo.png" width="241" height="148" alt="Myrtle Beach " title="" /><br />
</td>
<td style="border-width : 0px;"><h1><font size="1"><div align="left"><b><font color="000080">Myrtle Beach Golf Packages<br />Myrtle Beach Golf Vacations<br />Our PGA Pros Can Create a Custom Myrtle Beach Golf Package for your group.<br/>
A Myrtle Beach Golf Vacation to fulfill any golfer Dreams.</font></b></div></font></h1><br />

</td>
</tr>
</table>
</div>
</header>

How do I fix these validation errors?
Error Line 17, Column 199: The cellspacing attribute on the table element is obsolete. Use CSS instead. … border="1" cellpadding="2" cellspacing="2" style="background-color: #ffffff;">

?

4. Warning Line 17, Column 199: The border attribute on the table element is presentational markup. Consider using CSS instead. For example: table, td, th { border: 1px solid gray } … border="1" cellpadding="2" cellspacing="2" style="background-color: #ffffff;">

?

5. Error Line 18, Column 17: The valign attribute on the tr element is obsolete. Use CSS instead. <tr valign="top">

?

6. Error Line 19, Column 116: Bad value pga new logo.png for attribute src on element img: Illegal character in path segment: not a URL code point. …ga new logo.png" width="241" height="148" alt="Myrtle Beach " title="" /><br />

Syntax of IRI reference:Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
User 10077 Photo


Senior Advisor
1,095 posts

The layout on the page of the template is being done with a table using table attributes. Width, border, cellpadding, and cellspacing are all attributes.


<table width="100%" border="1" cellpadding="2" cellspacing="2" style="background-color: #ffffff;">


The layout now should be using CSS. For example, instead of using a cellpadding attribute in the table tag, the padding should be defined in the stylesheet.


td{
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
}


As far as the image error, it says there is an illegal character. I'm guessing it's the space. You should never have spaces in your filenames.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including training for Site Designer and Web Form Builder via Zoom.
Email me at support@usconsumernet.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.