House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Cascading Style Sheets (CSS)

Make a float exactly 50%

Author:
Ian Skinner
03/30/2009 05:24 PM

Including border and margin. I thought I read a nice, correct way to do this but I can not find it today when I actualy want to do this. Can you define a total width of a container, including margin, border, padding and content to be 50% as well as define a margin and border to inside of that without resorting to a fixed width (i.e. 123px) or a secondary container for the width?


Search css

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29