Codes On Website?, showing full codes on my website. |
Codes On Website?, showing full codes on my website. |
Sep 27 2008, 07:20 PM
Post
#1
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
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 |
|
|
|
![]() |
Sep 27 2008, 08:02 PM
Post
#2
|
|
|
AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 |
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 </textarea> this will show it as </textarea> when your codes are shown, but won't be active on your website. |
|
|
|
Mikeplyts Codes On Website? Sep 27 2008, 07:20 PM
Mikeplyts woah. I would of never thought of that. Thanks. Sep 27 2008, 08:19 PM
1angel3 Here's another way
CODE<xmp>codes her... Sep 27 2008, 08:26 PM
Mikeplyts Thanks. I kind of like the first one though. Sep 27 2008, 08:27 PM
schizo Closed and moved to resolved.
Let me know if you ... Sep 28 2008, 09:41 AM![]() ![]() |