Internet Bandaid   [RSS Feed]

CSS Hacks

without comments

Use the following syntax to target specific browsers when using CSS.

margin: 50px; /* targets all browsers */

#margin:50px; /* targets IE6 and IE7 */

_margin:50px; /* targets IE6 */

margin:50px\9; /*targets IE8 */

Replace margin with any other css attribute you desire.

Written by John Lai

July 8th, 2010 at 8:25 am

Posted in Uncategorized

Tagged with

Start Mission - Project management and invoicing

Leave a Reply