Log In · Register

 
*another* code for codes..., having issues
crazy_goat_black...
post Nov 10 2005, 07:48 PM
Post #1


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



a while back i asked for a code to put in a code in diary x so it showed up as the code itself isntead of converted. szeh (?) i believe it was gave me the <textarea> code, but the thing about this is, apparently, when i put the code inside of these tags, it messes things up a bit - puts in <br> tags where i have spaces and does other weird things, so that by the time the person who's supposed to get the template code gets it, the template doesn't turn out right.

....is there another code i can use that won't mess things up? pinch.gif
 
 
Start new topic
Replies (1 - 9)
Eryi
post Nov 10 2005, 08:01 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 4,591
Joined: Dec 2004
Member No: 77,305



Isn't this a Xanga Issue?
 
crazy_goat_black...
post Nov 10 2005, 08:23 PM
Post #3


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



...no, it's not...it's just for general coding. in this case, i'm using it with diary-x....
 
add1cted2f1re
post Nov 11 2005, 02:02 AM
Post #4


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



the <textarea> code always works for me....

may i see an example of WHAT its doing?
 
crazy_goat_black...
post Nov 11 2005, 04:14 PM
Post #5


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



http://crazygoat.diary-x.com/journal.cgi?entry=20051101

^^ it's doing it there. like if you scroll to the bottom, there's a <br> after </html> because i had an extra line there.
 
*mipadi*
post Nov 11 2005, 04:19 PM
Post #6





Guest






QUOTE(crazy_goat_blackie @ Nov 11 2005, 4:14 PM)
http://crazygoat.diary-x.com/journal.cgi?entry=20051101

^^ it's doing it there. like if you scroll to the bottom, there's a <br> after </html> because i had an extra line there.
*

You put a <br> tag in the code in the textarea. Textarea show whitespace, meaning if you put line breaks in the textarea tag, it will show up; you don't need <br> tags for line breaks. So entering this:
HTML
<textarea>Hi,

My name is
Joe.</textarea>

will result in this code:

Hi,

My name is
Joe.


in the textarea.
 
crazy_goat_black...
post Nov 12 2005, 06:48 PM
Post #7


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



but i didn't put in extra <br> tags! ugh...it was like this:

<html>

<tag>

and it shows up like this

<html><br>

<tag>

see??
 
*mipadi*
post Nov 12 2005, 08:50 PM
Post #8





Guest






Well, somewhere along the line you coded <br> tags into the HTML, which will literally show up when placed between <textarea>. Just take them out and replace them with actual line breaks (i.e. press the Enter key).
 
crazy_goat_black...
post Nov 13 2005, 05:43 PM
Post #9


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



...............i did put in white space breaks with the enter key in the first place, and it's still sticking in <br> tags. *sigh*
 
crazy_goat_black...
post Nov 14 2005, 01:00 PM
Post #10


The Insomnia Suffering Goatherd Of DOOM!!
***

Group: Member
Posts: 58
Joined: Oct 2005
Member No: 268,873



well, i figured out the problem. it was d-x. in the options > journal panel they have <br> set to show up after every line. i took this out and my codes in the <textarea> tags worked fine, but now all my entries are smushed together...bleh. it's kind of a hassle putting in all the <br> tags myself. i know there are other diary x design sites that have some way of offering the codes without this issue...is anyone familair with d-x who might be able to help me?
 

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