html - Changing the order of two DIVs with float - IE bug -
html - Changing the order of two DIVs with float - IE bug -
i want alter order of 2 divs css-float. don't want to/i can't alter order in html, because it's external data. next html in firefox, produces contrarious output in ie:
<div style="display:inline">berta</div> <div style="float:left; display:inline">albert</div> in firefox:
albertberta
in ie:
bertaalbert
question: there way firefox-output in ie? illustration -- in firefox, not in ie. anyway responses.
first, utilize valid doctype. stick time , utilize <!doctype html>. , second, @rotora commented, float , inline not nice.
let them become block elements display: block; (or maybe inline-block) , alter floats. first 1 right , sec 1 left (or vice versa). works in ie.
html css browser css-float
Comments
Post a Comment