Applying CSS in XSL

Posted on 2008-11-18
Last Modified: 2013-11-18
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="" version="2.0">

    <xsl:template match="/">



             <link rel="stylesheet" href="fb_webforms.css" type="text/css" media="screen"/>



        <xsl:apply-templates />




    <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>




Open in new window

Question by:rhea234543

    Author Comment

    the XML and XSL, I am loading through Jaav code.
    LVL 8

    Accepted Solution


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Shoutout to Emily Plummer ( for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
    Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
    In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
    The viewer will learn how to count occurrences of each item in an array.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now