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 Adjust the Profile Page and Header

Uzair Khan
Uzair Khan
3,640 Points

cant get the contact's sections head to head

i want the two paragraphs in the contact page to be head to head to each other please help http://w.trhou.se/1ljwrvh15p

1 Answer

Hi Uzair,

You could do this by placing all the content within one paragraph tag:

<p>i'm just designing websites and if you have any questions, please don't hesitate to contact me! please only use phone contacts for urgent inquiries. Otherwise Facebook and email are the best way to reach me.</p>

Another way to do this while keeping each one wrapped in its own tag would be to adjust the margin set on paragraph tags in your main.css. Generally, this is better done by enclosing it in one tag vs modifying the margin set on them for readability.

Also, I noticed your header link for your index.html is closed early.

<a>  href="index.html" id="logo">

and it should be

<a href="index.html" id="logo">
Uzair Khan
Uzair Khan
3,640 Points

Mark Truitt hey mark that helped

what should i do to get general information and contact details head to head