webmasterbeta
New Member
I have one lonely XML in my XHTML site.
I am using XSLT to change the XML tags into XHTML tags. Then I am using the same CSS I use on the rest of the site.
The problem is that while IE handles the file as it should, Firefox doesn't understand the meaning of my elements: that, for example, the <p> tag is a <p> tag. It applies everything in the CSS as it would to a span element.
I know this is gonna seem like such a stupid question later, but how do I tell Firefox that these tags have the meaning of XHTML tags?
[edit] If I knew this was gonna be so much trouble, I'd have used PHP's str_replace instead of all the damn templates for every tag.
I am using XSLT to change the XML tags into XHTML tags. Then I am using the same CSS I use on the rest of the site.
The problem is that while IE handles the file as it should, Firefox doesn't understand the meaning of my elements: that, for example, the <p> tag is a <p> tag. It applies everything in the CSS as it would to a span element.
I know this is gonna seem like such a stupid question later, but how do I tell Firefox that these tags have the meaning of XHTML tags?
[edit] If I knew this was gonna be so much trouble, I'd have used PHP's str_replace instead of all the damn templates for every tag.