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 Responsive Web Design and Testing Build a Three Column Layout

Tried to create a two column layout in the contact page for desktop layout. used both ids to float side by side but no!

I tried to create a two column layout in contact page just like how Nick explained it . I used both id's (primary and secondary) to float side by side. but then, i cannot see the change in the browser. please help!

Hi! Can you paste your code ?

David Clausen
David Clausen
11,403 Points

We need to see code, and Nick used class if I remember correctly so id had been .class not #class. We can't know till you post code.

Please wrape your code like so for css, using the (~) key, the key left of the 1 key.

```css CODE
GOES
Between
HERE
```

1 Answer

Did you try Margin: Auto; ?