Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Can someone tell me where my code has gone wrong please?

Hi im coding a new layout working my way down the page ( http://dan-croft.com/fruition/ ) but there at the top of the page where it says "hi" this should be below the slider i can get it to go there i assume this is a css issue am i floating things wrong could someone please help.

Thanks in advance.

Kind regards,

Daniel

5 Answers

Did you specify the h1 in your CSS, because I can't find it?

Try this:

#topcontent{
    float:left;
}
Chase Lee
Chase Lee
29,275 Points

Did you put the slider or hi first in your html.

The slider is first the hi should show last according to my html if you would like to view the source code to see

Thats fixed it now thank you i had done the wrong selector i did . instead of # newbie mistake.

Thank you for your help :)

No problem!