HTML and CSS Reference
In-Depth Information
Header add Link
"</style.css>;rel=stylesheet;type=text/css;media=all"
As an alternative to using .htaccess , which has been known to cause performance hits, you
can edit your httpd.conf file to do the same thing:
<Directory /usr/local/username/httpdocs>
Header add Link
"</ style.css>;rel=stylesheet;type=text/css;media=all"
</Directory>
...where /usr/local/username/httpdocs is replaced with the UNIX pathname of your web-
site's actual home directory.
As of this writing, HTTP headers were not supported by all user agents, most notably Internet
Explorer and Safari. Thus, this technique is usually limited to production environments based
on other user agents and the occasional Easter egg for Firefox and Opera users.
Search WWH ::




Custom Search