*another* code for codes..., having issues |
![]() ![]() |
*another* code for codes..., having issues |
![]()
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? ![]() |
|
|
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 4,591 Joined: Dec 2004 Member No: 77,305 ![]() |
Isn't this a Xanga Issue?
|
|
|
![]()
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....
|
|
|
![]()
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? |
|
|
![]()
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
#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. |
|
|
![]()
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
#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).
|
|
|
![]()
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*
|
|
|
![]()
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?
|
|
|
![]() ![]() |