Results 1 to 3 of 3

Thread: TextArea - html code

  1. #1

    Thread Starter
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188

    TextArea - html code

    Hi All,

    A person online types into the textarea some text with html code into it, it's then submitted to the database.

    On a separate page it is displayed from the database but the text is all out of alignment because of the code tags?

    I.e
    <strong> beacon blah di blah di blah</strong> jdsv bqdjsvbjb
    qsdjvbob
    sadvknb
    sdvkjasdvl

    There will be gaps where the strong tags where??

    why?
    b

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    post what the output actually looks like when it displays.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    its out of alignment because you have:

    VB Code:
    1. <strong> beacon blah di blah di blah</strong>

    the web browser will read the first space on the line, it should be:

    VB Code:
    1. <strong>beacon blah di blah di blah</strong>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width