View Full Version : I need help with the "xmp" code


Jo Meow
06-12-2003, 08:42 PM
I tried putting the "zmp" code, to stop some html from processing, but where I put <xmp> it turns into an invalid tag. Can someone help me?

freakEgurl
06-13-2003, 12:24 AM
Is it

<XMP>
<HTML HERE>
</XMP>.


putting that text into a text box would be an alternative, also.

MaGiCSuN
06-13-2003, 10:57 AM
if it doesn't work then use this instead:

&lt; = <
&gt; = >

To change this very fast you can use Word for it like this:

1. open word and type in a new document the code you want to 'translate'
2. push ctrl + H or go to Edit > replace
3. then fill in "search for" with the < sign and fill in "replace with" with the &lt; code
4. do the same for the > and you are totally fine :) This is very handy when you need a full code to show up on your website.

The way that i described above allowes linebreaks too, so it doesn't goes on one line like in the <xmp> code and it just stays the same font size color etc like the other text. Unless you change that offcourse...

Love,
Mirna

Jo Meow
06-13-2003, 06:29 PM
MaGiCSuN, I tried your code and it works, the code I want people to see is all there, except there's a bunch of XMP's all over it. I'm using it to let people use linking banners, but they can't use it if that's there.

elfenheroin
06-14-2003, 03:40 PM
You mean like the code for a banner linking to your site? You can try the text area if you want. That's what I use.

Jo Meow
06-14-2003, 03:55 PM
ok thanks for your help I figured it out!

MaGiCSuN
06-15-2003, 07:02 PM
you use or <xmp> OR &lt; and &gt;

don't use both, because the <XMP> things will also get translated like you said :)