The positioning property with Float is used to position an element relative to the left or right of the parent element. The positioning property with Float can be used for a variety of purposes, including:
- Creating a sidebar on a webpage that floats on either side of the main content area
- Creating a footer that floats below the main content area
- Creating a navigation bar at the bottom of a webpage that floats below all other content
Share a personalized message with your friends.