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

General Discussion

divs and content won't stay put!

I'm frustrated to the point of tears. On the page linked below - you'll see a page in progress and under it, the design i am basing it on. Here is my problem: On the top half of the mast, there are a number of items that need to go there. Other than the logo - EVERYTHING i try to add, even an empty div, will move from where I put it to the to the middle where the text that describes exactly that sits.

Can ANYONE see what's wrong? i've tried a bajillion things. Same results, every time.

http://emendationslist.com/createaccount/createaccount.html

I don't really know what your trying to achieve but don't let it get you down, it will make sense one day and you will be better at finding problems. You need to look at the display: (property) to understand how objects are displayed on the page. Also open google chrome goto your page and right click on your logo then click inspect element and if will pop open a box with your code hover over the image code and you will see the area it is taking up on the page. If you can visualize it then you will get a better grasp of what is happening.

1 Answer

Dennis Skoko
Dennis Skoko
12,860 Points

I'm sure either what you are trying to achieve but I took a look and saw something wring on line 55 and 49. I recommend you use the validator from W3C as much as possible because some small error can easily be made and it can bite you later on. Validator Maybe you can achieve what you are trying to do after fixing these errors. Hope this helped and good luck!