Help - Search - Members - Calendar
Full Version: Codes On Website?
Forums > Resource Center > Webmasters' Corner > Resolved Topics
Mikeplyts
Well I opened up a website and I already have my layouts and codes and stuff on there but I'm having trouble with showing the full code of some codes. Like I have a few layouts that have comment boxes in them and when I give the link to the page that has the code (code page format is a .txt format), and then the bottom buttons for the comment box are showing on the page and when I go to edit the page everything shows. I want to know how to fix this please. Try to understand me. Thank you very much.
-Mikeplyts
Smarmosaur
the problem is that it's using the textarea in the comment boxes to end the textarea you have the codes in, which makes the rest of the layout after that textarea show.
in your layout codes (the codes you're trying to show, not your website coding), change any </textarea> to:
CODE
&lt;/textarea&gt;


this will show it as </textarea> when your codes are shown, but won't be active on your website.
Mikeplyts
woah. I would of never thought of that. biggrin.gif Thanks.
1angel3
Here's another way

CODE
<xmp>codes here</xmp>


This will show the code without the box around it.
Mikeplyts
Thanks. I kind of like the first one though. _smile.gif
schizo
Closed and moved to resolved.

Let me know if you need it reopened.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.