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 Creating a Project Pages Site

Marissa Richardson
Marissa Richardson
47,541 Points

How do I give my repository cross-browser compatibility?

I just created my first GitHub Pages repository. I used media queries and webkits, but my site still looks funny in some browsers. How do you guys make your projects compatible across several browsers? You can view my repository on my profile. It looks good in Chrome, but it has some quirks in other browsers. Thanks.

Casey Ydenberg
Casey Ydenberg
15,622 Points

Can you provide a link? Is it live?

1 Answer

Aaron HARPT
Aaron HARPT
19,845 Points

Try using this meta tag:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Marissa Richardson
Marissa Richardson
47,541 Points

Your right. I totally forgot to include that. This helps solve my mobile issues, but the site still looks funky on some browsers. Thanks for the tip!