css - Difficulties when positioning DIV tags -


i'm pretty new css styling , need postioning divs in layout. if div tag declared bottom of page, when browser width reduced (to simulate in mobile phone), require div displayed on top. know achieved assigning minus value, isn't there better way of doing this?

please have @ http://2010.dconstruct.org/speakers/tom-coates , notice content inside right column displayed before main content when browser width reduced. i'm unable find solution through firebug.

thanks.

they use media queries:

@media , (max-device-width: 767px), , (max-width: 449px){     // code } 

if want know more them, can read, e.g., http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -