Cannot using style sheet inside ASP generated Excel

U

Utada P.W. SIU

Dear All,

I would like to using style sheet in ASP generated Excel, but it sees cannot
using it.
Here's my code:

'------------------- CODE -----------------------------------------
<style>
<!--
..report {
font-family: Arial;
font-size: 11pt;
}
//-->
</style>

<%
response.contentType = "application/vnd.ms-excel"
%>

<font class="report">testing</font>
----------------------- END ---------------------------------------

How to solve it? Thanks for advance ^.^!!
 
R

Ray Costanzo [MVP]

This is not ASP related. Please either see a client-side group, or try
formating a spreadsheet the way you'd like it to look, saving that as an
HTML file from within Excel, and then analyze the styles it created.

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top