Re: Adding   to output strings.

View: New views
1 Messages — Rating Filter:   Alert me  

Re: Adding   to output strings.

by Anth-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry about that, sent in HTML by accident.  Original problem was as
below.  I'm not sure why I couldn't get the   characters to
display, but I solved my particular problem by adding to the CSS:

white-space: nowrap;

Thanks,
Anthony.

--


  Hi,

  I've written a small module that outputs some list data using
  theme_item_list() and I've styled the items so that they are inline.
  My problem is that my actual list items are breaking and ruining the
  indent I've set up and individual items are wrapping over more than
  one line.  I thought I could use   characters to stop this, so
  used a str_replace to replace spaces with the string   but now
  the literal " " string is appearing instead of the non breaking
  space I wanted.

  Any ideas?

  TIA,
  Anthony.