Issue Posting Code
Posted: Wed, 2007-07-11 14:59
Just tried to post some code in a new there (http://csscreator.com/node/23381) and it came out all messed up as if the page was actually parsing the HTML. I enclosed it in code tags as suggested and even changed all the <'s and >'s to < and >. Sorry to screw it up, but I did everything I could to post it correctly and I'm a bit stumped as to how to fix it...


Leader
Posts: 630
Joined: 2007-05-31
Location: Bournemouth
Oopss
Posted: Wed, 2007-07-11 15:03
I have seen this before, and I think it's almost definitely to do with the opening and closing of the code tags.
And you definitely want to enclose the open/close code tags in normal '<' and '>', not the proper ways of drawing them you are doing
Give it a try...
Have YOU said Hello yet?
The CSSCreator Hello Thread
Regular
Posts: 45
Joined: 2005-10-17
Hmm... Can't seem to find an
Posted: Wed, 2007-07-11 15:06
Hmm... Can't seem to find an edit link. Is editing disabled?
I definitely used the literal <code> tag, not the <code> version though.
Purus Studios | TheWaterStop
Leader
Posts: 630
Joined: 2007-05-31
Location: Bournemouth
Hidden edit
Posted: Wed, 2007-07-11 15:09
Edit is there! Scroll to the bottom of your own code. That also means it's definitely to do with the code tag not being closed properly. If you can't find it, perhaps use your browsers 'find' command to locate the edit link?
Have YOU said Hello yet?
The CSSCreator Hello Thread
Moderator
Posts: 12860
Joined: 2004-06-06
Location: London
You didn't close the tag! I
Posted: Wed, 2007-07-11 15:09
You didn't close the tag!
I would amend things but you've escaped all the <> so it displays
btw you only need escape the less than angle bracket
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
Regular
Posts: 45
Joined: 2005-10-17
It appears I can only edit
Posted: Wed, 2007-07-11 15:12
It appears I can only edit my replies to a topic, not an original topic post... Or am I missing something?
Purus Studios | TheWaterStop
Moderator
Posts: 12860
Joined: 2004-06-06
Location: London
That's possible, hard to
Posted: Wed, 2007-07-11 15:24
That's possible, hard to know for sure as I get too edit regardless
I'll correct it but just this once mind
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
Leader
Posts: 630
Joined: 2007-05-31
Location: Bournemouth
Oh dear
Posted: Wed, 2007-07-11 15:25
This forum has been so quiet today, that I actually got excited about the 'broken forum' and the 'search for the fix'.
... I need a new job...
Have YOU said Hello yet?
The CSSCreator Hello Thread
Regular
Posts: 45
Joined: 2005-10-17
Oops, noticed the edit link
Posted: Wed, 2007-07-11 15:31
Oops, noticed the edit link for the original topic post is located above the topic. Sorry about that. I think I fixed it... Thanks for the help.
Purus Studios | TheWaterStop
Regular
Posts: 45
Joined: 2005-10-17
Ugh... It appears to
Posted: Wed, 2007-07-11 15:34
Ugh... It appears to actually be breaking when I post the CSS code, not the HTML part. Is there something I should know about posting CSS? I enclosed it in the code tags but it's still breaking everything...
Purus Studios | TheWaterStop
Moderator
Posts: 12860
Joined: 2004-06-06
Location: London
Puras your stuck between a
Posted: Wed, 2007-07-11 15:34
Purus your stuck between a rock and a hard place now.
You can't ad the closing code tag as it then renders the entities as written, you will either have to leave the close tag off or remove all the entities.
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
Regular
Posts: 45
Joined: 2005-10-17
And now I am getting the
Posted: Wed, 2007-07-11 15:43
And now I am getting the following error when I try to edit it:
Should I just make a new post and start over? Am I missing something here or is it always this hard to post code?
Purus Studios | TheWaterStop
Moderator
Posts: 12860
Joined: 2004-06-06
Location: London
No it isn't that hard to
Posted: Wed, 2007-07-11 15:46
No it isn't that hard to post code!!!!!!!!!!!!!!!!!!!!!!!!
Please leave it I'll adjust things.
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
Regular
Posts: 45
Joined: 2005-10-17
Thanks. I appreciate all
Posted: Wed, 2007-07-11 15:59
Thanks. I appreciate all your help. I was just doing some testing with submitting a new post and it appears that if I take the exact same code and retype it into the submit field (as opposed to copy/paste from Dreamweaver) it works fine. Perhaps the tabs that the copy/paste includes is throwing things off?
Purus Studios | TheWaterStop