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

HTML How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Why didn't we delete that "wrapper" id? Its of no use to us in Contact and About page.

We didn't use that id after styling of portfolio page. so, why not remove it in Contact and About page?

3 Answers

Alex Heil
Alex Heil
53,547 Points

hey bhavitvya malik , the wrapper id is not deleted because in the main.css file there are styles applied to it. hope that helps ;)

why not delete it in that contact and about page?

Alex Heil
Alex Heil
53,547 Points

hey guys, basically alle the wrapper id is doing is keeping the content in a specific width and centering it on the page. this applies to ALL sites. so say you would remove it from the contact / about page then you would lose that consistent style there.

with id: http://screencast.com/t/8wLWk9e587Wz

without id: http://screencast.com/t/HlsdXbH6S

hope that helps ;)

I didnt watch the video so i don`t know how it is set up! I was just letting him know that how the linking css works in html files, and why he cant erase it even though the style is not apply to the certain page according to the question saying that it is in no use : )

That is because wrapper id is used for the index page. Index, about, and contact pages are all linked to one main.css page and one responsive.css page. You could link another css page just for the index.html, then you can erase certain id that is just for the index.html page. (If the style is applied to the about and contact page then don`t erase.)