adding nbsp to an element added to the dom with js

Discussion in 'Javascript' started by libsfan01, Aug 20, 2006.

  1. libsfan01

    libsfan01 Guest

    hi all


    how can u do the aforementioned?

    regards

    marc
     
    libsfan01, Aug 20, 2006
    #1
    1. Advertising

  2. libsfan01

    Randy Webb Guest

    libsfan01 said the following on 8/20/2006 5:13 PM:
    > hi all
    > how can u do the aforementioned?


    aforementioned what?

    Don't assume that the subject line is even read, include your question
    in the body as well.

    But yes, you can add a non-breaking space to an element. How are you
    creating that element?
    --
    Randy
    comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
    Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
     
    Randy Webb, Aug 20, 2006
    #2
    1. Advertising

  3. libsfan01

    Matt Kruse Guest

    Matt Kruse, Aug 21, 2006
    #3
  4. libsfan01

    Marc Guest

    "Matt Kruse" <> wrote in message
    news:...
    > libsfan01 wrote:
    >> how can u do the aforementioned?

    >
    > html_element_reference.appendChild(document.createTextNode('\u00A0')); //
    > &nbsp;
    >
    > --
    > Matt Kruse
    > http://www.JavascriptToolbox.com
    > http://www.AjaxToolbox.com
    >
    >


    "Matt", why did you send your son down to earth?
     
    Marc, Aug 21, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    999
    Martin Honnen
    Sep 19, 2006
  2. Neil8Ken

    Many &nbsp; characters added to markup

    Neil8Ken, Apr 23, 2008, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    745
    Neil8Ken
    Apr 23, 2008
  3. nbsp and xml::dom::parser

    , Feb 10, 2006, in forum: Perl Misc
    Replies:
    6
    Views:
    313
    Bart Van der Donck
    Feb 12, 2006
  4. hotkitty

    Parsing CSV and "&nbsp;&nbsp;"

    hotkitty, Oct 9, 2008, in forum: Perl Misc
    Replies:
    9
    Views:
    342
  5. Steve
    Replies:
    6
    Views:
    243
    Thomas 'PointedEars' Lahn
    Mar 5, 2008
Loading...

Share This Page