> On Dec 13, 2011, at 2:25 PM, David Odefey wrote:

>> I was hoping there was a solution that allowed me
>> to keep both my percentage based widths as well as the static width
>> borders.

Hi David,

While you may or may not need this technique for your current layout,
there *is* a property that does what you describe. Depending on how
important IE6/IE7 compatibility is, you could use the box-sizing
property. Here's a good explanation:

http://css-tricks.com/7323-box-sizing/

The nice part is that it even works in IE8. The first time I used
box-sizing: border-box, my comment was /* No, YOU do the math */ .

Even if you do need IE7/IE6 compatibility, you could do a conditional
comment and lower the percentage for those browsers a bit and have it
look pretty similar.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to