SPAN inside A inside H1 display in Chrome 5

Posted by devils-avacado on Stack Overflow See other posts from Stack Overflow or by devils-avacado
Published on 2010-05-14T20:09:41Z Indexed on 2010/05/14 20:14 UTC
Read the original article Hit count: 253

Filed under:
|
|
|
|
<h1>
  <a>Lorem ipsum
     <span>dolor</span>
  </a>
</h1>

In Chrome the contents of the SPAN have a line break in front of them, "dolor" is displayed on the line below, even with display:inline explicitly set. Expected it to display on same line as "Lorem ipsum". Displays fine in IE8 and FF3.5. Any fixes?

Chrome 5.0.375.38 on Win7 x64

© Stack Overflow or respective owner

Related posts about html

Related posts about XHTML