<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <!-- div centering with clipping //--> <!-- works in IE and FF //--> <!-- by TFI 14 Feb 2008//--> <HEAD> <STYLE type="text/css"> span {display:table-cell; display:inline-block; overflow:hidden; position:static;} DIV#wrapper {width:300px;height:80px;overflow:hidden;clip:rect(0px,300px,80px,0pt);} </STYLE> </HEAD> <BODY> <TABLE cellpadding=0 cellspacing=0 border=0 height=100% align=center bgcolor=lightgreen> <TR> <TD valign=middle> <TABLE cellpadding=0 cellspacing=0 border=1 align=center height=80> <TR> <TD width=300 align=center> <SPAN> <DIV id="wrapper"> <DIV id="layer1" style="position: relative"> line 1<BR> line 2<BR> line 3<BR> line 4<BR> line 5<BR> line 6<BR> line 7<BR> line 8<BR> line 9<BR> </DIV> </DIV> </SPAN></TD> </TR> </TABLE></TD> </TR> </TABLE> </HTML>
Come on, guys... it's not a shame to use Tables sometimes, specially when you have sites that need to "look the same" in ALL browsers, including IE7 and down (yes, tragic but true, there're people that still uses IE 5.5...). And what about email marketing pieces? because that most of webmail based accounts don't allow CSS techniques, they are based on tables & image slices, and basic HTML tags, like the old days.