Home arrow ASP arrow Creating Dynamic Style Sheets Using ASP
ASP

Creating Dynamic Style Sheets Using ASP


Many people forget that ASP isn't just for making dynamic HTML pages. In this article Thomas shows us just how easy it is to build style sheets with ASP too...

Author Info:
By: Thomas Carpe
Rating: 5 stars5 stars5 stars5 stars5 stars / 40
November 21, 2002
TABLE OF CONTENTS:
  1. · Creating Dynamic Style Sheets Using ASP
  2. · Browser Detection
  3. · IE 6

print this article
SEARCH DEVARTICLES

Creating Dynamic Style Sheets Using ASP
(Page 1 of 3 )

Many people forget that ASP isn't just for making dynamic HTML pages. ASP can be used to create pages of all kinds, or even binary data, like images. Some examples have used XML, audio playlists, text files, GIFs, and JPGs - literally anything with a MIME type that he browser recognizes.

The code needed to make this happen is really quite simple. It takes only one line to change the HTTP header to produce a different MIME type, and thus force the web browser to interpret the file differently. One application for this ability is to create a style sheet using ASP.

Response.ContentType = "text/css"
blog comments powered by Disqus
ASP ARTICLES

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials