Can you make a .css file from a textarea?

Discussion in 'JavaScript' started by jijihuqw, Jun 15, 2011.

  1. #1
    I'm trying to create an input button that will link to a .css file that is created at the time the visitor clicks the button.

    For example. There is a text area with css code in it that the visitor edits then when they click the download input button and they are prompted to download a .css file that contains everything from the textarea.

    is this possible?
     
    jijihuqw, Jun 15, 2011 IP
  2. Jan Novak

    Jan Novak Peon

    Messages:
    121
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    0