Valera (valera) wrote,
Valera
valera

Tables to CSS

how would you display something like this through <div>'s and/or <spans>s + CSS?

   
 





HTML Source:


<table border="0" cellpadding="0" height="55" width="773">
	<tr> 
		<td width="530" valign="bottom" height="60" bgcolor="#0066CC">&nbsp;</td>
		<td valign="bottom" width="150" nowrap height="60" bgcolor="#FFFFFF">&nbsp;</td>
		<td valign="bottom" height="60" bgcolor="#000066" bordercolor="#000066">
			<table border="0" cellpadding="0" cellspacing="0" height="60" width="84">
				<tr> 
				  <td bgcolor="#000066" align="center" height="15"><b></b></td>
				</tr>
				<tr> 
					<td bgcolor="#FFFFFF" align="center"><spacer type="vertical" size="1"></td>
				</tr>
				<tr>
					<td bgcolor="#000066" align="center">&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td colspan="3" valign="bottom" height="2" bgcolor="#FF0000"><spacer type="vertical" size="2"></td>
	</tr>
</table>

Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 6 comments