Here is some example which can use for styling tables in your web page.
To specify table borders in CSS, use the border property.
The example below specifies a black border for table, th, and td elements:
table, th, td
border: 1px solid black;
Table Width and Height
You can specify Width and height of a table using CSS
Following is an example of CSS for Collapse Borders
border: 1px solid #666;
It's only fair to share...
Posts you may like:
Disable text selection and right click on website – trick with code
This post explains how to protect a webpage from copying pages contents including text and …
How to create collapse sidebar in html5 with css3
Here is an example of creating collapse sidebar using html5 with css3. This is something …
CSS media queries with skeleton framework
Cascading Style Sheets (CSS) are one of the important part of web design, without a …
How to create sidebar in html5 with css3
HTML5 is the latest semantic HTML markup which is still work in progress but most …
How to create a HTML5 and CSS3 onepage website, with demo
Onepage website is modern trend among internet and you can view many beautiful onepage driven …