I believe you can embed a certain code into a webpage that will allow you to do this. CSS is one language that you can use to do such a thing. However, experienced hackers can easily bypass such a code.