• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make a NonBreakingString component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a NonBreakingString component


  • Subject: Re: How to make a NonBreakingString component
  • From: David LeBer <email@hidden>
  • Date: Tue, 15 Apr 2008 16:26:48 -0400


On 15-Apr-08, at 3:58 PM, John Huss wrote:

I'd like to make a component that is exactly like WOString except that it replaces all spaces with &nbsp; (non-breaking spaces). Is there an easy way to do that without having to write all the code to handle the dateformat and numberformat stuff? Is there an existing component that already does something like this? Either way, it would be educational to know how to approach it if I wanted to build my own.

As an alternative to re-writing the string content, could you apply a 'white-space: nowrap;' css rule to the strings containing html element?


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to make a NonBreakingString component (From: "John Huss" <email@hidden>)

  • Prev by Date: Fwd: Would You Use WOs On A New Project
  • Next by Date: Re: Would You Use WOs On A New Project
  • Previous by thread: Re: How to make a NonBreakingString component
  • Next by thread: Tomcat Woes :)
  • Index(es):
    • Date
    • Thread