Welcome to WebmasterWorld Guest from 54.145.80.57

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess and CSS Files

Auto-parse unsing .htaccess?

     
1:15 pm on Dec 31, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 22, 2002
posts:52
votes: 0


Just had a thought while playing with some HTML code...

Is there anything that I can use in a .htaccess file to automatically use a style sheet to apply to all pages in a directory and all sub directories?

...probably not, but it's an interesting idea!

Steve.

6:08 pm on Dec 31, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


Applying a style sheet must be done in the HTML on each page. You could probably redirect to a different style sheet site wide or on a directory basis using .htaccess.