div.border { border: solid 2px black; padding:20px; background-color: #ccc; width: 300px; } div.border { \width: 344px; w\idth: 300px; } div.rulerIE { width:300px; background-color: Red; } div.rulerCSS { width: 344px; background-color: Green; }