Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export to Excel Missing Stylesheet in Firefox

Status
Not open for further replies.

dfrazell

IS-IT--Management
May 26, 2005
65
US
I have an ASP page that creates an Excel spreadsheet report using Response.ContentType = "application/vnd.ms-excel" and building the output with a series of TABLE, TR, and TD tags. Most of the cell appearance (color, boxes, etc.) comes via a stylesheet.

When I use IE6 or IE7 everything is fine and the cell formatting looks good coming from the Stylesheet. When I load the same page using Firefox the raw data loads fine but all the cell formatting (colors, boxes, etc) is missing because the stylesheet.css isn't loaded.

I receive the following error "Problems During Load - Missing file C:\site_include\stylesheet.css". It is looking for the file locally. How can I resolve this problem? Thanks!
 
Looks like it, have to tried using the full path when you include the style sheet?

Code:
<link rel="stylesheet" type="txt/css" href="[URL unfurl="true"]http://www.mysite.co.uk/styles/mystylesheet.css"?[/URL]

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top