Live data from Hacker News

Less Framework 2.0 Released

lessframework.com

11–20 of 29 posts

Re: Less Framework 2.0 Released

#11
post #7

I like the idea of cross browser flexibility built in and I'd like to try this on a Rails app but not quite sure how I would actually use it. Can you combine the columns for the ability to build larger boxes? Or use less than 5 columns on the widest site?

You use framework to position on grid, the actual size is whatever you want.

Re: Less Framework 2.0 Released

#12

Browsers that don't support media-queries, like ie8 and below, simply ignore everything inside inline media-queries. This means they'll use the default five-column layout – which is more than sufficient for desktop usage – and ignore everything else. the 5-column layout is 768px wide is default fir older browsers. Which means i get to see 768px wide layout even on my netbook which easily supports the usual 960px? Gue…

Yep, netbooks get the 768 px layout. I figured fully supporting tablets and 1280 px laptops is more important than using up a couple hundred more pixels on netbooks. Tradeoffs, tradeoffs…. No custom layout generators or bells or whistles, sorry. Kept this intentionally simple. :)

Glad your on here now Joni. Thanks again for the framework!

Re: Less Framework 2.0 Released

#13
Very cool, but I seem to be having issues with it on the iPhone. Your site loaded correctly in portrait on the first load, but when I rotated to landscape there was an additional black bar maybe 100px wide on the right side of the page, allowing horizontal scroll. Once you've rotated to landscape, the page does not resize back to portrait until you close the page and open it again.

Re: Less Framework 2.0 Released

#14
post #13

Very cool, but I seem to be having issues with it on the iPhone. Your site loaded correctly in portrait on the first load, but when I rotated to landscape there was an additional black bar maybe 100px wide on the right side of the page, allowing horizontal scroll. Once you've rotated to landscape, the page does not resize back to portrait until you close the page and open it again.

Iiinteresting…. Can I ask which iPhone and version of iOS you’re using?

It’s funny how the most problematic browser these days seems to not be IE6, but Mobile Safari. :|

Re: Less Framework 2.0 Released

#15
post #13

Very cool, but I seem to be having issues with it on the iPhone. Your site loaded correctly in portrait on the first load, but when I rotated to landscape there was an additional black bar maybe 100px wide on the right side of the page, allowing horizontal scroll. Once you've rotated to landscape, the page does not resize back to portrait until you close the page and open it again.

Right, for some reason, after rotating to landscape and then rotating back to portrait, you have to zoom in before you can zoom back out. I assume this is due to the meta viewport properties in use:

initial-scale=1.0, width=device-width, height=device-height

Without height=device-height, rotating to landscape screws up the zooming completely. With it, your bug happens. The only solution for both problems is setting maximum-scale=1, and that’s no solution at all.

Ideas?

Re: Less Framework 2.0 Released

#16
post #13

Very cool, but I seem to be having issues with it on the iPhone. Your site loaded correctly in portrait on the first load, but when I rotated to landscape there was an additional black bar maybe 100px wide on the right side of the page, allowing horizontal scroll. Once you've rotated to landscape, the page does not resize back to portrait until you close the page and open it again.

Iiinteresting…. Can I ask which iPhone and version of iOS you’re using? It’s funny how the most problematic browser these days seems to not be IE6, but Mobile Safari. :|

iPhone 4, iOS 4.0 (8A293)

Re: Less Framework 2.0 Released

#18
Maybe those are nice fonts, but my browsers are doing a terrible job of rendering them. IE8 has nasty jagged edges on the curves and has clipped the very bottom of the heading font. In Firefox the body text is light and indistinct, escpeially the abbr tags.
Post reply on HN