04-25-2011, 07: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, 07:21 AM
it depends on what you want the handling to do.
04-25-2011, 07: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, 07: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.