I am working on a design in which i want to show a snippet of code of html on a page which is skewed, but when I adjust the text according to that it's distorted and does not look like the part of the page.
This is what I have so far:
You are doing wrong, That's why its not going the way you want to. you have to group/link both to get the desired effect
What you have to do is :
ctrl+tand what ever you want to do select the same option by clicking
right mouse click
I am attaching some quick/ugly screenshots to make this clear to you hope they'll help
Well you have two problems with persepctive. One is that your 'paper' is not in perspective. The other is that you didn't make your code match the paper.... or be in perspective.
See to put your paper in perspective using what you've already done you should still have two sides be parallel which you don't. Here is what I mean - you should have either the blue area filled or the green area filled based on your current lines. The blue could be made a bit wider, I was doing this fast but its very foreshortened with that angle you currently have (top of your existing piece) so the green would be a better perspective since you want to see the top of the paper with the code on it:
Then you need to distort your text more so that it is the same using that distory tool. By definition YOU ARE going to distort the text, perspective function alone in photoshop isn't really going to cut it for what you want to achieve.
What you might try doing is making a black 'box' to act as the paper and write your text on it. Then group those layers together and distort them at the same time.