homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

How to hide css online?

5+ Year Member

Msg#: 3061240 posted 12:10 pm on Aug 26, 2006 (gmt 0)

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...



10+ Year Member

Msg#: 3061240 posted 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.


WebmasterWorld Senior Member penders us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

Msg#: 3061240 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved