XHTML conversion

webmasterbeta

New Member
I'm new to XML and so am currently trying the half-way house that is XHTML (to ease me in gently).

I've convered an HTML document to XHTML and it validates 100% correctly. If I leave the file is a .html extension then it also displays correctly in a browser. However, changing the extension to .xhtml causes the stylesheet to be ignored. I've tried both HTML and XML types of stylesheet references but neither seem to work.

First of all, am I write to change the extensions to .XHTML? Assuming I am, any idea about the stylesheets?

David.
 
Back
Top