I have this code:
<p><a href="#">Blah</a> | <span>stuff</span><span>1</span><span>dfh5heh</span> | June 17, 2010 <a href="#" style="float:right;">46884</a></p>
It's very trivial, but it doesn't render the same in IE8 and Firefox 3. I would assume that it renders incorrectly in IE8 as opposed to Firefox.
The above code lists some stuff in a P as follows:
------------------------------------------------------------
Blah | stuff1dfh5heh | June 17, 2010 46884
------------------------------------------------------------
In IE8 the 46884 stuff slips down underneath the bottom border which leaves me two questions.
- How do I fix this. I'm guessing I need to use a div instead of a p tag.
- What mechanism in IE8 (Firefox?) produces this erroneaus rendering.
Edit: I double checked what mode I was in in IE and discovered that I was in compatibility mode for some reason. Upon switching to the correct mode "IE8 Standards" this error is eliminated. I'd still like to know how to fix the error for IE7 users?