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 trialJaylyn Duffin
1,511 PointsI'm following the video thoroughly but my text will not center. could I get some assist
Style by CSS
4 Answers
Karina Rogers
Front End Web Development Techdegree Graduate 15,909 PointsIt took me awhile before I realized I had to save both my index.html and styles.css tabs before the changes would be reflected. Maybe trying saving both of those tabs?
Peter Vann
36,427 PointsHi Jaylyn!
Can you share your HTML and CSS code, so I can get a better handle on what the problem is?
Thank you!
-Pete
Jaylyn Duffin
1,511 PointsHey there, how would I share that?
Cameron Childres
11,820 PointsHey Jaylyn,
The easiest way is probably by sharing a workspace snapshot. To do this:
- Open your workspace
- Click "Snapshot Workspace" in the top right (camera icon)
- Click "Take Snapshot"
- Click on the link it generates
- Copy the link from your address bar in the newly opened window and paste it here
This will let us see everything that is currently in your workspace.
You can also copy and paste your code directly as text. If you do that be sure to wrap it in triple backticks for the post, that makes it much more readable.
For example:
```
code goes here
```
Looks like:
code goes here
You can find more examples of ways to format posts for the forum in the "Markdown Cheatsheet" linked below the comment box.
Frenchell Moore
218 PointsKarina is a true hero! Thank you! I was watching the video over and over wondering what I was doing wrong.
William Fargas
Front End Web Development Techdegree Student 353 PointsSounds silly but check your spelling.. centre center. If you get it around the wrong way you may still see it as correct because it has the right letters just not in the right sequence
Matthew Kraig
475 PointsMatthew Kraig
475 PointsThank you for that tip, Karina! Saving both the index.html and styles.css helped me also solve the centering issue!
Nick Curtis
2,064 PointsNick Curtis
2,064 PointsThanks, Karina! I had the same problem and your answer helped right away.
Craig Moloney
Courses Plus Student 795 PointsCraig Moloney
Courses Plus Student 795 PointsThank you! this has resolved my issue also.
Graig-Jay Lumives
639 PointsGraig-Jay Lumives
639 PointsThis worked! Was wondering myself on why it would not center as well. Thank you!