How to target specific browsers

Most developers (& web designers) are aware of browsers specific problems when it comes to rendering websites. The following code will target specific browsers, and you can apply styles to them. <!–if firefox> .yourSelector { margin-top:0; } < ![endif]--> <!--if chrome> .yourSelector { top:6px; } < ![endif]--> <!--if!if ie> .yourSelector { top:8px; } < ![endif]--> […]