Log In · Register

 
 
Closed TopicStart new topic
Codes On Website?, showing full codes on my website.
Mikeplyts
post 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
 
Smarmosaur
post 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
&lt;/textarea&gt;


this will show it as </textarea> when your codes are shown, but won't be active on your website.
 
Mikeplyts
post Sep 27 2008, 08:19 PM
Post #3


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



woah. I would of never thought of that. biggrin.gif Thanks.
 
1angel3
post Sep 27 2008, 08:26 PM
Post #4


Naomi loves you. Y'all may call me NaNa
******

Group: Official Designer
Posts: 2,925
Joined: Jun 2006
Member No: 427,774



Here's another way

CODE
<xmp>codes here</xmp>


This will show the code without the box around it.
 
Mikeplyts
post Sep 27 2008, 08:27 PM
Post #5


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Thanks. I kind of like the first one though. _smile.gif
 
schizo
post Sep 28 2008, 09:41 AM
Post #6


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



Closed and moved to resolved.

Let me know if you need it reopened.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: