[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Netscape changes font-size in table

Subject: Re: Netscape changes font-size in table
From: RICARDO BORILLO DOMENECH <borillo@xxxxxxxxx>
Date: Mon, 26 Nov 2001 10:53:28 +0100 (CET)
table font size
Mensaje citado por: mark.clare@xxxxxxxxxxxx:

> 
> Hi Katie
> 
> We had the same problem and found that the only way to ensure
> consistency
> between IE and Netscape was to use the 'Size=x' option in the <Font>
> settings rather than specific font sizes.
> 
> Regards
> 
> Mark Clare
> 
> 
> 
> 
> "Katie McNally" <kmcnally9@xxxxxxxxxxx>@lists.mulberrytech.com on
> 25/11/2001 20:37:32
> 
> Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 
> Sent by:  owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 
> 
> To:   xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> cc:
> Subject:   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
> 
> 

If you want to use a font style in a TD, this TD must have a fixed with (30px)
and text must fit it.

Bye,
============================
Ricardo Borillo Domenech
Programació - Servei d'Informàtica
Universitat Jaume I

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.