I have a HTML file containing an image, underneath this image I want to display two divs on the same line like this:
text1 text2
But no matter how I try it, it turns out looking like this:
text1
text2
This is quite annoying.
<div id="footer">
{% block footer %}
<div class="footercontent">
<div class="left">© blahblahblah </div>
<div class="right">
<a target="_blank" href="http://privacy.aol.com/">Privacy</a>
|
<a target="_blank" href="http://legal.aol.com/TOS">Terms of Use</a>
</div>
</div>
{% endblock %}
</div>
I want the two inner divs to dwell on the same line and to display this way on all modern browsers. To do this I have set a css file as such:
#footer { margin:auto; width:720px; }
#footer a { color:#333; }
#footer a:visited { color:#333; }
#footer .left { float:left; }
#footer .right { float:right; }
Am I missing something obvious here? I though float was meant to solve this issue.
EDIT: It seems to appear correctly in Chrome