View Single Post
Old 07-22-2010, 10:47 PM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Quote:
Originally Posted by cambaby View Post
Wow what a come back.

A 3 column css layout and html code is more bytes than a 3 column table html code.


No it's not... Both the files below are exactly 4kb

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
.wrap{width:600px;clear:both;}
.column{width:200px;float:left;}
</style>
</head>
<body>
<div class="wrap">
	<div class="column"></div>
    <div class="column"></div>
    <div class="column"></div>
    <div class="wrap"></div>
</div>
</body>
</html>
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="600" cellpadding="0" cellspacing="0">
	<tr>
    	<td width="200"></td>
        <td width="200"></td>
        <td width="200"></td>
    </tr>
</table>
</body>
</html>
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote