Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Bob Sutherton
Bob Sutherton
20,160 Points

How did you learn to gauge values like pixels and stuff?

When you are sizing something, how do you determine how many pixels you are going to use for it to get the size you want? Do you guess? Do you use math to figure it? Are you an eagle eye pixelator who can look at a screen at determine the exact amount of pixels something is? I have just been tinkering with the values until the look right. But this seems like it is probably not the best way.

2 Answers

Sean T. Unwin
Sean T. Unwin
28,690 Points

Hair pulling, heavy sighing, and some pacing behind your chair.

Although, the more you do it the guesstimating gets easier.

tldr: trial 'n' error

Andrew Shook
Andrew Shook
31,709 Points

Yep, unless I mockup and then I let adobe tell me.

Dylan Grey Aksomitas
PLUS
Dylan Grey Aksomitas
Courses Plus Student 15,083 Points

A lot of trial and error. As with anything, it will become easier with experience.