NameSilo

Help me to validate this xhtml. Thx

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

abcde

Established Member
Impact
16
PHP:
<!--top-->
<table width="937" bgcolor="#7F7F7F" cellpadding="0" cellspacing="0" border="0" align="center">
	<tr>
        <td align="left" valign="top" width="13"><img src="$stylevar[imgdir_misc]/b_top_l.gif" alt="" width="13" height="15" /></td>
        <td align="left" valign="top" width="100%"><img src="$stylevar[imgdir_misc]/b_top_b.gif" alt="" width="100%" height="15" /></td>
        <td align="left" valign="top" width="13"><img src="$stylevar[imgdir_misc]/b_top_r.gif" alt="" width="13" height="15" /></td>
	</tr>
	<tr>
		<td background="$stylevar[imgdir_misc]/bg_l.gif"><img src="$stylevar[imgdir_misc]/bg_l.gif" width="13" border="0" alt=""/></td>
		<td>
<!-- end top -->

some text here
<!-- foot-->
        </td>
        <td background="$stylevar[imgdir_misc]/bg_r.gif" width="13"><img src="$stylevar[imgdir_misc]/bg_r.gif" width="13" border="0" alt=""/></td>
    </tr>
    <tr>
        <td height="31"><img src="$stylevar[imgdir_misc]/b_bt_l.gif" width="13" border="0"  alt=""/></td>
        <td background="$stylevar[imgdir_misc]/b_bt_b.gif" height="31" style="padding-right:80px;"><img src="$stylevar[imgdir_misc]/b_bt_1.gif" align="right" border="0"  alt=""/></td>
        <td height="31"><img src="$stylevar[imgdir_misc]/b_bt_r.gif" width="12" border="0" alt=""/></td>
    </tr>
</table>
<!-- end foot -->
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
First of all, if you want the output to be XHTML compliant, you should use CSS for styling and position instead of tables. If stuck with tables, you can modify the attributes of the TABLE and TD elements using CSS:

PHP:
<!--top--> 
<table width="937" style="background:#7F7F7F; text-align:center; border:0" cellpadding="0" cellspacing="0"> 
	<tr> 
		<td align="left" valign="top" style="width:13px"><img src="$stylevar[imgdir_misc]/b_top_l.gif" alt="" style="width:13px; height:15px" /></td> 
		<td align="left" valign="top" style="width:100%"><img src="$stylevar[imgdir_misc]/b_top_b.gif" alt="" style="width:100%; height:15px"  /></td> 
		<td align="left" valign="top" style="width:13px"><img src="$stylevar[imgdir_misc]/b_top_r.gif" alt="" style="width:13px; height:15px" /></td> 
	</tr> 
	<tr> 
		<td style="background-image: url('$stylevar[imgdir_misc]/bg_l.gif');"><img src="$stylevar[imgdir_misc]/bg_l.gif" style="width:13px; border:0" alt=""/></td> 
		<td> 
<!-- end top --> 

some text here 
<!-- foot--> 
		</td> 
		<td style="background-image: url('$stylevar[imgdir_misc]/bg_r.gif'); width:13px"><img src="$stylevar[imgdir_misc]/bg_r.gif" style="width:13px; border:0" alt=""/></td> 
	</tr> 
	<tr> 
		<td style="height:31px"><img src="$stylevar[imgdir_misc]/b_bt_l.gif" style="width:13px; border:0"  alt=""/></td> 
		<td style="background-image: url('$stylevar[imgdir_misc]/b_bt_b.gif'); height:31px; padding-right:80px;"><img src="$stylevar[imgdir_misc]/b_bt_1.gif" style="border:0px; text-align:right;"  alt=""/></td> 
		<td style="height:31px"><img src="$stylevar[imgdir_misc]/b_bt_r.gif" style="width:12px; border:0" alt=""/></td> 
	</tr> 
</table> 
<!-- end foot -->

Try experimenting with the W3 validator using the XHTML standard of your choice (1.1 Strict, transitional, ...) and input your entire HTML into the validator for hints and tips.
 
1
Close
Thanks. RP added.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back