Forum Moderators: open

Message Too Old, No Replies

Golden Rectangle in to CSS?

1:1.618 in to percentages or?

         

JAB Creations

6:30 am on Mar 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's late, my brain is starting to possibly swell, and I'm a little confused on how I can effectively convert the 1:1.618 ratio of the golden rectangle in to a two column layout in CSS? I could possibly figure this out for a static layout though of course I'm trying to figure this out for a dynamic layout.

- John

limbo

10:53 am on Mar 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi John,

My maths is terrible - wrong side of the brain... but I think this is right:

1.0 / 2.618 (sum of 1 + 1.618) = 0.382 x 100 = 38.2%

So 62%:38% is pretty close.

- Edited for clarity