html - Adding float: left breaks list -
i have visual element called "plan", listed in html page. each "plan" has small table , image, want show side side. without styling looks this: http://jsfiddle.net/dctwd/1/
i thought use float: left in table , image make them display in same row, doesn't work. isn't possible use float: left inside li? else how can achieve this?
no need ancient float:left;, when display:inline-block; best friend!
your updated jsfiddle. overly simple example, actual css should involve class-based rather element-based css, gets point across.
notice fallback of zoom:1; *display:inline; ie7-, , vertical-align:middle; aesthetics. can use top or bottom, whatever works you.
Comments
Post a Comment