tags:

views:

55

answers:

1

I have been struggling to find out why IE7 is taking more space in padding while other browsers not.

If someone knows how to do that than please do share.

+3  A: 

The browsers naturally default to different padding/margin settings. Adding on top of this, browsers treat width differently as well.

You may want to consider resetting element styling so that it's reasonably consistent across browsers. See http://meyerweb.com/eric/tools/css/reset/ for an example.

David Andres
An essential first step to cross browser compatibility. +1
idrumgood