css - Basics - When setting a div in line, float too? -


this may quick answer one:

i typically use display: inline-block; set list of divs horizontally. noticed in ie7 it's no go, way around using float: left; lose relativity position, causing else afterwards push upwards if literally floating on top. how can achieve same display: inline-block;, doesn't "float" , works in ie7 , modern day goodness.

thanks,

try techniques in article. may more need particular application, should work:

http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -