Welcome to the Treehouse Community
Looking to learn something new?
when i float anything on my css the structure of the page changes. How to solve?
when i float anything on my css the structure of the page changes. The footers comes to section.
I was trying to make the website responsive :(
even the border is not coming to the center. Anybody know how to make borders to the center?
How to solve?
Codin - Codesmite8,600 Points
Floating an element removes it from the normal page flow in the same way as if you had set the element to fixed or absolute positioning.
If responsive is your goal I would recommend using as little floats as possible and aim to use relative positioning, percentage sizes and CSS media queries to adapt to display sizes.
If you post your code here or on somewhere like www.codepen.io I can help show you how to acheive the layout you are aiming for and keep it responsive.