This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Netscape changes font-size in table
- From: "cutlass" <cutlass at secure0 dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 26 Nov 2001 06:53:53 -0000
- Subject: Re: [xsl] Netscape changes font-size in table
- References: <F156nypTCE8GsMrC4qK000105e5@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Katie,
this is possibly a CSS problem, and slightly off topic.
without seeing more of your code.... your named template looks correct,
though i would put it on the same line to make sure the breaks aren't there.
have u done a manual html test with both browsers ?
cheers, jim fuller
----- Original Message -----
From: "Katie McNally" <kmcnally9@hotmail.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, November 26, 2001 1:37 AM
Subject: [xsl] Netscape changes font-size in table
> My XSL stylesheet's main template calls the template below to set the
style
> of the data displayed in the page's table. After each <td> tag in the
> table, the line <xsl:call-template name="ApplyStyle"/> calls the template
> below:
>
> <xsl:template name="ApplyStyle">
> <xsl:attribute name="STYLE">
> font-family: Verdana;
> font-size: 11px;
> color: black;
> </xsl:attribute>
> </xsl:template>
>
> When displayed in IE, the font is all the same size for all words shown in
> the table. When displayed in the Netscape browser, however, the font-size
> changes with the size of the word. For example, for the column displaying
> "Status", the size of the font for the status "New" is much larger than
the
> font for the status "Approved" in the same column. The font of all the
> values displayed in the "Rate" column is much smaller than the font for
the
> words displayed in all of the other columns (which have titles that are
> longer than the word "Rate").
>
> Any suggestions on how to set the style/font-size in the stylesheet so
that
> the table can be displayed correctly in both IE and Netscape?
>
> Thanks,
> Katie
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list