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

Design Adobe Illustrator for Web Design Creating a Wireframe Adding Type

Aaron Selonke
Aaron Selonke
10,323 Points

Is a Pixel in Illustrator the same as one pixel in a CSS document displayed on the browser?

?

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Aaron,

Short Answer: Yes. A pixel is a pixel regardless of where in design you are using the term.

The longer answer will involve technical specs for the displays being used to display the 'pixels.' While the pixel itself is the same, the visual representation of the pixel will be determined by the screen resolution and color depth. The same image will look dramatically different if you change your resolution to 640x480 as compared to a resolution of 1920x1080. Also an image displayed with a 8-bit color depth will also be very different than if show with a 32-bit color.

So, while a pixel is the same, its display can be very different.

Hope this clears it up for you. Keep coding! :)