Posts: 202
Location: Santa Monica, CA
|
All the books I read repeated twice per page: "no style elements in your mark-up".
Now I read in "Bulletproof Web Design" to use
Code:
<table cellspacing="0">
instead of writing into the CSS style sheet:
Code:
table {
border-collapse: collapse;
}
Reason: not all browsers understand border-collapse.
On the other hand the book, second edition 2008, still mentions IE for Mac and IE5, two dead browsers.
So, is this cellspacing="0" added to the mark-up better than writing border-collapse: collapse; into the CSS?
|