Moving from HTML 4.1 to XHTML 1.1
I gave skaelede online a fresh new look sometime ago.
By changing the design, I've did some changes on the background too: I've updated the XSL engine to generate XHTML 1.1 output instead of the good old HTML 4.1 way.
I do not want to miss in details, you can check out the original source code, I just want to add some notes on the workarounds (that I usually forget:) )
1) The
MUST BE html, instead of using xml. Internet Explorer would save the file down, or open it with the associated XML-handler application, but not display it as an XHTML page.
2) You can not use </img>
, so you cannot have
to images :( I do not know any workarounds to this problem, yet.
3) The hspace
and the vspace
attributes should be replaced with: style="margin-left:0px;margin-right:0px;"
4) The border
attribute must be replaced with style="border:0px;"
.
I just wonder, why W3C didn't have an upgrade guide for all the folks who try to follow their changes...