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

Text don't line up

When I have for example two h tags, h1 and h2, that are right beneath each other. When the font-sizes are different, the two headings don't line up anymore. I have margin:0; and padding:0; If I make the text the same size they do line up. Please give me advice as to how I can have 2 different font sizes but have the text to line up? Thanks in advance

1 Answer

Can you provide a snapshot of your workspaces?

To get started:

  1. Launch any of your workspaces.
  2. Select the snapshot menu in the upper right corner.
  3. Click "Take Snapshot"
  4. Visit the link and share it with someone.