Link to home
Start Free TrialLog in
Avatar of rhea234543
rhea234543

asked on

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

Avatar of rhea234543
rhea234543

ASKER

the XML and XSL, I am loading through Jaav code.
ASKER CERTIFIED SOLUTION
Avatar of Haris V
Haris V
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial