View Full Version : Padding
04-25-2011, 06:17 AM
What is the best way to handle padding changing the size of a div in I.E.? Should I just do the math, use auto, or what?
I normally do the math, but this is an imporrant peoject and I want to do ir right.
04-25-2011, 06:21 AM
it depends on what you want the handling to do.
04-25-2011, 06:28 AM
Just random uses.
Say I have a div with a set width, and I apply a padding to it. The box would be wider than I told it to be. Should I just math it out, and set the div to be less wide and then apply the padding to make up the difference?
04-25-2011, 06:50 AM
The box would be wider than I told it to be.
not if it's inside another fixed width container. Post your code so we can see what is going on.
04-25-2011, 06:57 AM
No, you helped Thanks.
04-25-2011, 07:07 AM
no problem :)
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.