On 02/22/2013 10:02 AM, Tom Livingston wrote:
On Fri, Feb 22, 2013 at 2:37 PM, Angela French <[email protected]> wrote:
The properties below are from twitter.bootstrap. How would one even
figure out such percentages, let alone a browser supporting them?
margin-left: 78.72340425531914%;
*margin-left: 78.61702127659572%;
Angela French
Probably from using this equation:
(target ÷ context) × 100 = result
to convert px based layout dimensions to percentages such as:
width : 31.646%; /* 300px ÷ 948px = .31646 */
An old enterprise CMS I used to work with carried all calculations out
to 7 decimals. So if you dragged a table column just a bit wider in the
GUI "authoring tool", you might get a percentage width like "33.7164978%".
Is there a standard saying how many digits a browser is supposed to pay
attention to? Are they supposed to take them as is? Round them off?
Truncate them? In my opinion, just meaningless digits!
--
David
[email protected]
authenticity, honesty, community
http://clanjones.org/david/
http://dancing-treefrog.deviantart.com/
______________________________________________________________________
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/