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 How to Make a Website Styling Web Pages and Navigation Style the Image Captions

pictures are not in double coloum & Header is not at mid also not coloured...plz help and check my code?

/*********************************** GENERAL ***********************************/ a { text-decoration: none }

wrapper

max-width: 720px; margin: 0 auto; padding:0 5%;

img { max-width:100%;

}

/light green header/

header { background: #6ab47b border-color: #596b70 }

/*********************************** HEADING ***********************************/

.logo { float: left; margin: 0 75px; height: 50px; width: 50px; background: red; text-align: center; margin: 0; }

/*********************************** TEXT ***********************************/ h1 { font-family: 'Oswald', sans-serif; font-weight:normal size :1.75em; }

/*********************************** PAGE PORTFOLIO ***********************************/

Gallery {

margin:0; padding:0; list-style: none;

}

gallery li {

float: left; width: 45%; margin: 2.5%; background-color: #f5f5f5; color: #bdc3c7; }

/*********************************** COLORS ***********************************/

p { color : #000000 }

/logo text/ h1 { color : #ffffff }

h2 { color : #ffffff }

/links/ a { color: #23f }

/nav background on mobile/ nav a { color : #3425fe; text-align:center; padding:10; margin:20px 0 0;

} /selected nav link/ nav a :hover { color : #32673f }

/* site body */ body {

background: #fff border-color: #999

You're missing semi-colons on your colour definitions on the css header tag.

thanks....actually i missed semicolon everywhere...thanks!

1 Answer

Attention to detail. I've looked at stuff half a dozen times and not seen the obvious.