60 is divisible by 2, 3, 4, 5, 6, 8, 10, 12, 15, 16, 20, 24, 30, 32, 40, 48, 60, 64, 80, 96, 120, 160, 192, 240, 320 and 480. This makes it a highly flexible base number to work with.Why that's significant (and why I've recently begun using it in some projects) is that I can make a 2, 3, 4 (even 16!) column website with minimal trouble. In fact, all I really need to do is add a class which matches how many columns a given item should take up (div class = "grid_4" for instance, will take up 4 grid points) and I can move on to making a site's overall layout and graphics, without having to spend hours wondering "so.... which CSS hack should I use here to make this sucker take up X amount of screen real estate?"
IE6 has a wicked bug which doubles the margin on any floated elements. This could be a huge problem, but is easily fixed by adding display: inline to that which is floated. This causes no side-effects in any other browsers, so it simply lives in the main 960.css file.And to address :
But, why god (err.. W3C) why... WHY did no one think to give CSS some actual layout methods?
« Older Exactly 101 years ago today, Oran Thadeus Page was... | David Lee Roth Assteroids.... Newer »
This thread has been archived and is closed to new comments
posted by leotrotsky at 9:14 PM on January 27