Applying CSS in XSL

The css is in the same file as XSL. My XSL is something like this
But CSS is not having any effect on the HTML results.
Please help
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
    <xsl:template match="/">
     <html>
         <head>
             <link rel="stylesheet" href="fb_webforms.css" type="text/css" media="screen"/>
         </head>
         <body>
        <xsl:apply-templates />
         </body>
     </html>
    </xsl:template>
 
    <xsl:template match="fb_info">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" >
            <tr class="page_title" rowspan="2">
                <td class="title"><Font size="5">eeeeeeee</Font>
                </td>
            </tr>
        </table>

Open in new window

rhea234543Asked:
Who is Participating?
 
Haris VConnect With a Mentor Commented:
0
 
rhea234543Author Commented:
the XML and XSL, I am loading through Jaav code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.