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 CSS Layout Techniques Positioning Schemes Absolute Positioning

Matteo Mainardi
Matteo Mainardi
7,372 Points

text overflowing when zoomin in or resizing viewport

using the final files of the lesson, the above-stated problems occur:

  1. zooming in the .col's text overflow the div while the .col's height remains the same
  2. resizing the viewport forces again the text to overflow, reducing the height of the .col for the corresponding amount

I was expecting:

  1. the bigger text to wrap and the .col's height to expand and accommodate it.
  2. to get more vertical scrolling for the whole page

why is this happening? is there a solution?

thx

2 Answers

Hey Matteo,

Can you include your code.

In the meantime:

Did you set the .col's height to 100%?

Matteo Mainardi
Matteo Mainardi
7,372 Points

Hi Warren, you can find the files here: it's not MY code, it's the code from the lesson. in particular i'm talking about the "final" files.