Link Details

Link 70074 thumbnail
User 247336 avatar

By cssglobe
via cssglobe.com
Published: Mar 10 2008 / 13:50

The best solutions are often the simplest. Here's a list of 8 tips that contain only one css property.
  • 16
  • 0
  • 1748
  • 649

Comments

Add your comment
User 210175 avatar

jtheory replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.