Mobile app version of vmapp.org
Login or Join
Hamm6457569

: How to measure distance between text and element in Photoshop I find measuring the distance between an element and text rather complicated. Cause I need to first know the biggest letter and measure

@Hamm6457569

Posted in: #AdobePhotoshop #Css #LineHeight #Measurement #Text

I find measuring the distance between an element and text rather complicated.
Cause I need to first know the biggest letter and measure the distance from that to the element. Then substract the padding from the line height.
It would be much easier if I could display the line height as a box or something so I can measure just from that.

Is that somehow possible?
How do you reliably measure the distance from text to an element to i.e. transfer it to css?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm6457569

2 Comments

Sorted by latest first Latest Oldest Best

 

@Voss6371140

It depends what version of Photoshop you are using, but it has been made a lot easier in the recent updates of PS, especially in CC and I would recommend you to update to this version!

Simply select the Move tool (v) and when you are hovering over an element press and hold Ctrl. It will show you distance etc.


Then you can either use pixels in css or rems etc. Hope this helps!

10% popularity Vote Up Vote Down


 

@Cofer715

Showing the text box
View > Show > Layer Edgers
You selected layer will now be highlighted



Getting the distance
Use the ruler tool I sometimes behind hidden behind the eyedropper tool to get the actual distance. Keep the text box selected otherwise your highlighted layer will not show.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme