Rated
Read 26,671 times
Contents
Downloads
Related Categories
Creating Dynamic Style Sheets Using ASP - Introduction
Introduction
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"
I have been working in IT since 1993. I founded CarpeDiem Business Internet Systems in 1995. In 2000 we incroporated and took on two partners. Its really a grat lot of fun, and I enjoy working on the high-end and cutting-edge stuff from Microsoft. I'm pretty hard up for work lately, because of the attacks in New York and DC, so if anyone has any leads, they'd really help out a lot. Come check out our web site!
This article is Copyright (c) 2001 by Thomas Carpe and CarpeDiem Business Internet Systems, Inc. Published by permission. If you would like to publish articles by myself and our staff on this or other topics, please contact us.
Comments
|