Differences

This shows you the differences between two versions of the page.

Link to this comparison view

webdesign [2013/10/16 19:00]
dlicious Initial page with multi-CSS information
webdesign [2013/11/22 19:29] (current)
dlicious Added section on rounded table corners
Line 1: Line 1:
 +===== Rounded corners on a table =====
 +
 +This CSS will give you rounded corners on your table, even if you add/remove columns and rows.
 +
 +<file css rounded-table.css>
 +<!-- Top-left corner -->
 +table tr:first-child th:first-child ,
 +table tr:first-child td:first-child   { border-top-left-radius     : 15px ; }
 +
 +<!-- Top-right corner -->
 +table tr:first-child th:last-child  ,
 +table tr:first-child td:last-child    { border-top-right-radius    : 15px ; }
 +
 +<!-- Bottom-left corner -->
 +table tr:last-child  td:first-child   { border-bottom-left-radius  : 15px ; }
 +
 +<!-- Bottom-right corner -->
 +table tr:last-child  td:last-child    { border-bottom-right-radius : 15px ; }
 +</file>
 +
 ===== Working with multiple CSS stylesheets ===== ===== Working with multiple CSS stylesheets =====
  
webdesign.txt · Last modified: 2013/11/22 19:29 by dlicious
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki