Brian Foster wrote:
> | <html>
> | <head> </head>
> | <body> <style type="text/css"> [ ... ] </style> </body>
> | </html>
> | When you view that, you'll see that the <style> element has
> | been moved into the head.
>> yes. <style> is supposed to be in <head> (AFAICR).
> the above HTML is very unlikely to pass the W3C's verifier,
> whilst the "re-written" version may (depends on what else
> is wrong of course).
> so what is the problem?
I have no problem with that. I am aware of the specs. My point was that
the script does not work in all cases.
In fact, we were using it for our own CMS in work for a short while, but
gave it up because of some difficulties matching the front and back
ends. In short, we were using some pretty tricky CSS on the front end
which we couldn't replicate faithfully in the backend. This, while fine
for myself (I don't care about design), is a head wrecker for the
designers in the office.
I'd say go for it, if the front end CSS is not going to make the code
look vastly (read: any) different - you may get some whiners. Just tell
them that webpages are /not/ the same as printed pages, and that you
will not be able to make something look exactly the same on every
browser so deal.
BTW: I have a very handy adaptation of the script which will
automatically add the HTMLArea to every textarea in your document - no
tricky scripting involved. If you want it, just shout!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!