3 ms·
> I'm not the typical frontend developer though apparently. Div class="row" is not something you'll see in my code, ever. I'm not going back to table layouts by
by mercurial 12y ago
> I'm not the typical frontend developer though apparently. Div class="row" is not something you'll see in my code, ever. I'm not going back to table layouts by faking rows and columns with divs. That to me is working against the grain of HTML and CSS. When you start working *with" the grain, with the native behaviour of HTML elements, suddenly a lot more is possible and easier to accomplish when it comes to responsiveness and compatibility. But anyway.. carry on with your "not table based" layouts!
Interesting. As somebody who loathes front-end development, I'm curious to know how you work against what I consider to be the shameful lack of support for laying out elements on a page in a coherent way (something which has been present in widget toolkits for fat clients since forever). I still remember with dreads the hacks necessary to achieve a three-columns fluid layout in a cross-browser fashion, and I'm certainly not going back to that.
- poxrud 12y agoThere is no need to litter your HTML with non semantic div tags that just represent rows and columns. I'm a big fan of using a framework like Susy (there are others as well) that just lets you assign the number of columns an element spans. Something like: .logo { span (3 of 10); } nav { span(7 of 10); } So you can get columns without touching your HTML.
- mercurial 12y agoInteresting, thanks.