Help me to embed a formatted code in a webpage

Discussion in 'HTML & Website Design' started by afridy, Oct 13, 2009.

  1. #1
    folks

    i want to embed a formatted css code in a web page that allow the user to copy it. ex "pls copy and past the below css code in to your ...." like.
    so i must provide the user a set of formatted css code.

    now is there any simple widget or somthing like that to embed formatted codes in a webpage?

    like exactly we embed codes here in posts using code tag.

    :)
     
    afridy, Oct 13, 2009 IP
  2. webdevuk

    webdevuk Member

    Messages:
    318
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    43
    #2
    You need to get access to your web hosts FTP connection details , so you can download the page you want, you can then change it and reupload the updated file :)
     
    webdevuk, Oct 13, 2009 IP
  3. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #3
    to do this in HTML you need to encode the characters, "& g t ;" (with no spaces) for a greater than symbol, etc...

    Or you can easily put it in a text box and let them copy/paste it from there.
     
    goliath, Oct 13, 2009 IP