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.
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.
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.