i good thing to do is to declare this styles on your default / index page /* keep your page defaults the same across each browser */ html { width:100%; height:100%; } /* declare the initial margin and padding of each element to be 0, 0 */ * { margin:0; padding:0; }
On Mon, Jun 1, 2009 at 6:44 PM, Adam <adambu...@gmail.com> wrote: > > What's everyone's opinion on current best-practice for offering > conditional CSS for specific browsers. I just noticed that Jquery used > to have a detection function rolled in, which was deprecated. I have > been using IE conditional comments to do this for a long while but > recently used a WP theme (Justin Tadlock's hybrid) that used http user > agent to add classes to the body tag depending on which browser and I > sorta liked this approach. Mostly because it actually works in my PC > testing enviro. Thoughts? Thanks everyone! > -Adam >