Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Formatting text within text area

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42901
    Krish1980
    Participant

    I’m trying to create a form which has a text area which, when the user copy pastes a resume within the text area, the original formatting is kept intact, when the output is received by the guys handling the admin. Is it possible?

    #125532
    __
    Participant

    what kind of formatting? Do you mean whitespace?

    Whitespace *is* preserved in form submissions, but it’s ignored (not displayed) in HTML. If that’s what your problem is, you can either output the submission inside a `

    ` element, or convert the whitespace to ` ` and/or `
    `, as appropriate.
    #125539
    tomrogers123
    Member

    This post may be useful for you if you want the user to see the formatting when they paste it in: https://css-tricks.com/forums/discussion/comment/93184#Comment_93184.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.