Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Build a Responsive Website Creating a Fluid Foundation Converting Pixels to Percentages

Fluid Foundations and Heights

I understand how to convert widths into percentages to make the site more adaptive to various viewport sizes; however, what about when dealing with the height of elements. Would leaving in fixed sizes on the height attributes have any negative effects?

1 Answer

Hi Travis,

It depends on what you are trying to achieve. In responsive/adaptive design you really would not use fixed heights as it can mess with over all design. But in a fixed or box layout design you may. All depends on what you are trying to do.