Quick CSS problem

Soldato
Joined
18 Oct 2002
Posts
16,030
Location
The land of milk & beans
Here's the code:
Code:
<div style="width: 575px; height: 101px; border: 1px dotted #666666; padding: 10px;">
	lorem ipsum
</div>
IEdoes as it's supposed to and leaves the width as 575px even with the padding applied. FireFox though makes the width 595px to include the padding - is there any way to stop this, without using an IE only hack?

TIA
 
Last edited:
TBH i did find it strange typing the words 'IE' and 'as it's supposed to' in the same sentence :)

I've amended the design now to cater for the slight pixel difference - thanks for the reply though!
 
Back
Top Bottom