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
Isaac Higuchi
2,107 Pointsthe float element is not working for mi
I put de float element in my css page and the elements in the list continue one above de other.
body{ background-color:rgb(15,145,12); }
head { background: rgb(45,80,109); }
h1 { font-family: 'Baloo Bhai', sans-serif; font-size:2.20em; background: rgb(45,80,109); padding:40px 0px; color: white; margin:0; font-weight:normal; line-height:0.8em;
}
img { max-width:30%; float:left; margin:0; padding:0; }
nav a:hover { color: #66542c; }
lista {
list-style: none; margin: 15px 0 0 0; display: inline-block; padding:15px 0 0 0; }
galeria {
list-style: none; margin: 15px 0 0 0; display: inline-block; padding:15px 0 0 0; }
footer { clear:both; text-align:center; }
Gabriel E
8,916 PointsGabriel E
8,916 PointsIsaac, can you please post your code where the problem seems to be located? If you're just having trouble in the footer, the just post the code starting and ending in the footer tag.
Cheers, G