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

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!