what's the number of times the letter "m" appears in:
q: is there a standard way to structure a website when i first taught myself how to make websites (html/css) i used exact pixel width and height for all div elements. i've also practiced making websites with nothing but percentage width and height.
i can use either technique fairly easily, but i wanted to know is there a standard technique or structure to building the basic layout of a website?
my recent favorite is to make my main div container an exact pixel width with auto height (centered on the page) and then have all divs inside set to a percentage width and auto height. this works just fine for me, but if there's a widely acknowledged standard to making a website from scratch i would love to know.

a: as grandmasterb mentioned, the current trend is to use scaffolding and responsive column-based layouts that make it much easier to write web applications for multiple target environments all at the same time: pcs, tablets, smartphones.
the most used is twitter's bootstrap... to the point where you can almost instantly recognize a website using it. to the point where a blog post has been written to stop using it... and as such, a lot of websites with bootstrap themes (free or/and premium) have popped out of nowhere such as bootswatch for example.
the other one that i've personnally used is zurb's foundation which is also nice and offers the same gric/column based layout. similarly to bootstrap, you can customize the css and javascript components included before downloading the source files.
i don't know if this trend is going to stop or if it will fall into "another way of writing web apps", but there are many pros while working with such frameworks:


*

*part of the responsive design is already done for you (and if you don't do too much complicated stuff, that part is going to be very close to 100%)

*it's easy to pick up (for exmaple: most important css classes in bootstrap: row, and spanx where x is a number between 1 and 12)

*it's easily customizable with additional fonts, icons, theme colors

*it's pretty !

*you save a lot of time for more important stuff rather than micro-managing pixel by pixel all your dom elements (you can still do that, sure, but if you do things well, you should not have to)

*they come with jquery-based components

*it's still being worked on, and updated with modern css3 and html5 features while keeping compatibility with older browsers

*it's incredibly easy to integrate bootstrap to a mvvm framework such as knockoutjs for example.


and last but not least... both bootstrap and zurb foundation have excellent documentations
edit: found a website comparing bootstrap to zurb foundation and to another one that i didn't knew of, skeleton (still grid/column based): http://responsive.vermilion.com/compare.php

user
I counted sixty-five "m"s in that text.
assistant