html - Draw some rectangles by table tag -



html - Draw some rectangles by table tag -

i'm trying create shape tables:

my html code this:

<html> <head> <title>exercise!</title> </head> <body> <table border="1" width="100%" height="100%"> <tr> <td colspan="2"></td> <td colspan="3"></td> <td colspan="2"></td> </tr> <tr> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1" rowspan="2"></td> </tr> <tr> <td colspan="2"></td> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1"></td> </tr> </table> </body> </html>

this html code gets me wrong shape:

but when add together row without colspan , rowspans, browser shows right shape row:

here code creates right shape row:

<html> <head> <title>exercise!</title> </head> <body> <table border="1" width="100%" height="100%"> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td colspan="2"></td> <td colspan="3"></td> <td colspan="2"></td> </tr> <tr> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1" rowspan="2"></td> </tr> <tr> <td colspan="2"></td> <td colspan="1"></td> <td colspan="2"></td> <td colspan="1"></td> </tr> </table> </body> </html>

what problem?

edit : ie shows big blank rectangle!!!! problem?

problem borders. when add together row fields specified, draws border between each field fields, without row, of borders not drawn, rows have less pixels others

html

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -