|
HTML5 Solutions: Essential Techniques for HTML5 Developers

HTML5 brings the biggest changes to HTML in years. Web designers
now have new techniques, from displaying video and audio natively in HTML,
to creating realtime graphics on a web page without a plugin.
This book provides a collection of solutions to all of the most common HTML5 problems.
Every solution contains sample code that is production-ready and can be applied to any project.
Click Here
|
|
|
Set the border-collapse
By Stephen Bucaro
In a standard html table, each cell has a separate border (which will not be
visible if the border attribute is set to 0). This causes the table cell
borders to appear double, as shown below.
| cell one | cell two |
| cell three | cell four |
The style property border-collapse tells the cell borders to collapse into
single borders, as shown below.
| cell one | cell two |
| cell three | cell four |
<table border="1" style="border-collapse:collapse;">
<tr><td>cell one</td><td>cell two</td></tr>
<tr><td>cell three</td><td>cell four</td></tr>
</table>
Set the border-collapse property to collapse to collapse the table cell
borders into single borders. Set the border-collapse property to separate
to display each cell with a separate border (double borders). set the border-collapse
property to inherit to indicate that the border-collapse property should be
inherited from the parent element (Internet Explorer does not support the inherit value.
|
|
RSS Feed
Web Design Sections
|

This book is an essential technical dictionary for professional web designers and developers,
conveniently summarizing over 3000 pages of (X)HTML5 and CSS3 specifications and covering the
most common and fundamental concepts and specs, including tags, attributes, values, objects,
properties, methods, events, and APIs.
Web Designer Manu Gautrand says,"It's easy to find what you are looking for and most tags⁄properties
have good code examples and specify in what browser versions the tag is supported.
Click here for more information.
|
|
|