span display block makes text after the span drop as well

riptorn

New Member
HTML:\[code\]<p><a href="http://stackoverflow.com/questions/14536177/#">my <span>favorites</span></a>(13)</p>\[/code\]I want "favorites" to drop after "my", and then to separately style "(13)", which should be on the same line as "favorites".I tried with the above markup and the following CSS but (13) also drops:\[code\]p span a { display: block; }\[/code\](13) should stay on the same line as "favorites" so it looks like\[code\]myfavorites(13)\[/code\]
 
Back
Top