Hi folks, I want to hide my css file or css online. That no one should view my stylesheet in all the browser. Any ideas...
asquithea
12:17 pm on Aug 26, 2006 (gmt 0)
That's impossible. If a browser can use the CSS file to render a page, then the content has already been downloaded to the user's computer for them to view and analyze at leisure.
penders
1:32 pm on Aug 26, 2006 (gmt 0)
At best you could perhaps use a tool to compress the CSS file and get rid of any unnecessary white-space and comments, but it will certainly still be accessible. And I think most people would advise against trying to hide the CSS (and HTML), since it's a great way for people to learn - by looking at other peoples code.