We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

fris on 11/16/07


Tagged


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

vali29


custom table using html and css


Published in: HTML 


  1. <title>custom table</title>
  2. table.content {
  3. background-color:#F6F6F6;
  4. border:1px solid #CCCCCC;
  5. text-align:left;
  6. margin-top: 5px;
  7. margin-bottom: 5px;
  8. font-size: 12px;
  9. padding: 4px;
  10. margin: 0 0 7px 0;
  11. }
  12. </head>
  13.  
  14. <table width="500" border="0" cellspacing="2" cellpadding="6" class="content">
  15. <tr>
  16. <td>
  17.  
  18. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus felis. Sed volutpat arcu at dui cursus malesuada. Curabitur vel lectus et lorem egestas imperdiet. Sed
  19.  
  20. </td>
  21. </tr>
  22.  
  23. </body>
  24. </html>

Report this snippet 

You need to login to post a comment.