>- see footer for list info -<
I'm with you there Colm (I even got the Zeldman beanie lol), hence the question about getting valid code from a CMS ;)

Colm Brazel wrote:

- see footer for list info -<



DRMWVR MX Pro 2004 you can validate as xml but it coughs when it finds CF tags. Better to have a look at http://w3.org/MarkUp/ especially run pages through http://validator.w3.org/detailed.html with xhtml doctype.Good book is 'Designing with Web Standards' Jeffrey Zeldman or books by Eric Myers. There are some surprising workarounds and gotchas like instead of the verbose Flash embed tag use the object tag as in <object type="application/x-shockwave-flash" data="your.swf" width="100" height="67"> <param name="movie" value="your.swf" /> </object> Also the css you use should be validated as well at w3. Check out the excellent html-kit free editor at http://www.chami.com/html-kit/ having a cool cfmx functions extension it also has TIDY to check/format correct xhtml/xml/html



Colm










www.cbweb.net






-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Woods Sent: 09 December 2004 09:57 To: Coldfusion Development Subject: [work] Re: [CF-Dev] XHTML compliance




- see footer for list info -<





...I've been using soEditor for a long time but problem is having to clean
up the code it produces to make it XHTML compliant.



I use JTidy to tidy up the html generated by the MS dhtml edit control (soEditor and some others rely on this). Even if you get an editor which produces clean xhtml (new version of FCKEditor is supposed to), you'll still need something like JTidy to deal with rubbish people paste from elsewhere. Some editors will attempt to clean up on paste, but I've yet to find one that does a reliable job and you still have the problem of people entering html directly, either because their browser is not supported by your editor or they just use the source view yoke.

I can send you a copy of the code I use off-list if you want, or you can
get it by downloading SpeckCMS from www.speckcms.com, there's a tag called
spTidy that is called from the Html property.


Mark

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-


- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-


- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<






_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to