|
anderskorte -> RE: Pretty in Pink? (3/4/2005 11:59:25)
|
I have seen this site somewhere. You must have posted it in critiques before. About tables, there's nothing that should make you panic. Using CSS over tables for layout is of course preferred but you don't have to start redesigning your website just because of that. If you'll be building websites in the future, you should use CSS then, redesigning can be pretty difficult. But the real problem is not the tables, but this (code from your site): ...
<tr>
<td width="1" bgcolor="#FFFFFF"><img border="0" src="spacer.gif" width="1" height="1"></td>
<td width="100%" bgcolor="#FFFFFF"><img border="0" src="spacer.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#FFFFFF"><img border="0" src="spacer.gif" width="1" height="1"></td>
<td width="100%" bgcolor="#F0D0D8">
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#980030" face="Arial" size="2"><b><a style="text-decoration: none" href="websites.htm">Wedding
Website </a><br>
</b>A wedding website designed for you!</font></td>
</tr>
</table>
</td>
</tr>
...
and above all, this:<span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;mso-fareast-font-family:"Times New Roman";
mso-ansi-language: EN-US;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA">Do you need etiquette advice
or wedding planning tips? </span>
<span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt;
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US;
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Northumberland Bride</span> This is where CSS comes in. You don't seem to have any control over your website, but your code gets bloated because of all that bgcolor, margin, cellspacing, bgcolor, font, bgcolor, cellspacing, font, bgcolor, font, margin, font, bgcolor... that can easily be replaced with a few lines of CSS. And with CSS, you don't need those spacer GIF's. There's nothing wrong with table layout as long as you keep it simple. On your website, the tables seem to linearize quite OK, so no problem about that. anders
|
|
|
|