Px distances | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Px distances

Hello, I’m wondering how you decide how many pixels to make something or how many pixels apart you should make a margin, etc? For example, if I was positioning an element on my page, how do I know how many pixels to the top or the right I want to place it? How do you know what that size is going to be or what it will look like on the website? Is there some kind of grid or template online that helps show the range of pixel sizes or is it a guesstimate and then you see how it looks?

15th Feb 2018, 3:50 PM
Jenna
2 Answers
+ 6
http://www.prismo.ch/comparisons/desktop.php Pixel size is relative to screen resolution and size; This site may help: http://www.websitedimensions.com
15th Feb 2018, 4:10 PM
jay
jay - avatar
+ 1
Perfect! Thank you Jay.
15th Feb 2018, 4:40 PM
Jenna