Hi there,
I'm trying to get a form to work and one of the esential bits of code that needs to exist is:
I put that in FCKEditorX in source mode, change it back to WYSWYG mode and voila, without fail it automatically changes my code to:
, adding a / at the end and making the code useless.
Is there a way to fix this or prevent this from happening?
Thanks!
editor changes my html code!
-
cyberman
Re: editor changes my html code!
CMSms is a xhtml CMS so this source change is a must have !
You can disable it in admin panel (menu extensions > FCKeditorX, tab Settings, "Enable xhtml formatting").
But in future the source written by FCKEd wount be xhtml valid per default ...
You can disable it in admin panel (menu extensions > FCKeditorX, tab Settings, "Enable xhtml formatting").
But in future the source written by FCKEd wount be xhtml valid per default ...
-
ruess
Re: editor changes my html code!
so is it better to leave as is and just shut off my editor when i need to deal with that form? Will the site be more compliant with current standards? I guess what I'm asking is why is it important that the site is xhmtl?
Thanks!
Thanks!
-
cyberman
Re: editor changes my html code!
This
is not xhtml valid.
This
is xhtml valid
.
You can check it here
http://validator.w3.org/
?
Xhtml is one of THE current world wide standards for websites. Sometimes there could be problems with layout if you mix html and xhtml. Also some browsers think different about it. And debugging would be a lot easier.
Code: Select all
<input type="hidden" name="mailmyform_username" value="username">This
Code: Select all
<input type="hidden" name="mailmyform_username" value="username" />You can check it here
http://validator.w3.org/
Yes, if this could be a solution for you ...ruess wrote: so is it better to leave as is and just shut off my editor when i need to deal with that form?
Think so ...Will the site be more compliant with current standards?
Why are you stopping your car if traffic light is showing redwhy is it important that the site is xhmtl?
Xhtml is one of THE current world wide standards for websites. Sometimes there could be problems with layout if you mix html and xhtml. Also some browsers think different about it. And debugging would be a lot easier.
Last edited by cyberman on Thu Nov 16, 2006 8:14 am, edited 1 time in total.
-
Pierre M.
Re: editor changes my html code!
Lol
8^D
PM
"[My web site is working]. Is there a way to fix this or prevent this from happening ?"ruess wrote: Is there a way to fix this or prevent this from happening?
8^D
PM
