Good list! A few caveats, though:
#2: "Prevent oversized content to break fixed width floated layouts": be careful of using overflow:hidden, *especially* when you have unknown content. It's extremely irritating to have some important text cut off with no scrollbar even to access it, and I see that a surprising amount in CSS-based sites. Ruining the content is worse than breaking layout, even though you don't want either one.
In some cases overflow:auto is a good solution. It'll show a scrollbar if the content doesn't fit in the block.
#8: "Remove active link borders": I don't recommend this one. First, it only works in FF. Second, those dotted line link highlights are important for accessibility -- don't break them.
Comments
jtheory replied ago:
Good list! A few caveats, though:
#2: "Prevent oversized content to break fixed width floated layouts": be careful of using overflow:hidden, *especially* when you have unknown content. It's extremely irritating to have some important text cut off with no scrollbar even to access it, and I see that a surprising amount in CSS-based sites. Ruining the content is worse than breaking layout, even though you don't want either one.
In some cases overflow:auto is a good solution. It'll show a scrollbar if the content doesn't fit in the block.
#8: "Remove active link borders": I don't recommend this one. First, it only works in FF. Second, those dotted line link highlights are important for accessibility -- don't break them.
Voters For This Link (16)
Voters Against This Link (0)