Skip to main content
edited tags
Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244
Source Link
Josh Rodgers
  • 1.2k
  • 1
  • 16
  • 42

Wrap More Link in Div

I would like to put the "more" link in it's own div and am having some trouble... my current code looks like: the_content("<div class='more'>More &gt;&gt;</div>");

But the problem is that the output is not cross-browser compatible...Safari and Firefox render this fine, placing the div around the more link...but IE8 renders the div in the a tag of the link, making it look funny.

Is there a function I can add to my theme that would allow me to wrap a div around the more link so I don't have to worry about how different browsers interpret my original code?

Thanks,
Josh