PDA

View Full Version : Applying different CSS for different browsers?



techin4
05 Aug 2010, 12:22 PM
Hi,

When creating my form yesterday I noticed that when display it using Firefox it looks fine but when I view it in IE the labels and input boxes dont line up correctly. I was wondering
if there is a way to set my CSS so that when it detects Firefox it uses "1.7em" and when it detects IE it uses "2em? Thanks!

Corrosive
05 Aug 2010, 01:24 PM
Try this method; http://www.quirksmode.org/css/condcom.html