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

Abe Layee
Abe Layee
8,378 Points

Fluid Layout tips

I want my website to fit the entire screen of any device but I am worry about text being spread out on large devices. Any tips on how to fix it? I am using the skeleton grid system and the container max-width is 960px ,but the container does not take the entire screen.

html,
body {width:100%; height:100%;}

2 Answers

Oliver Sewell
Oliver Sewell
16,425 Points

have you tried using max-width: 100%; this should fill the containing element at different screen sizes. You could also use media queries to change how the text is presented on larger screens , i hope this helps