| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

wordpress-openid-faq

Page history last edited by Will Norris 15 years, 6 months ago

How do I prevent long URLs on OpenID comments from breaking my layout?

When a comment is left using an OpenID, but the commenters name is not provided, the OpenID URL will be displayed alongside the comment.  If the URL is rather long (especially true with some Yahoo! OpenIDs), it may cause unexpected problems with your WordPress theme.  There are two main approaches to addressing this:

Truncate long URLs

 - substr() on get_comment_author

Wrap long URLs

- via CSS (word-wrap) - works in Safari, IE, Firefox 3.1

- via <wbr/> - works in most browsers, but not XHTML 

Comments (0)

You don't have permission to comment on this page.