09/04/2024 Education - Training
The CSS float property is used to control the positioning of an element within its parent container.
When you apply the float property to an element, it can be moved to the left or right of its containing element and have other content flow around it.
CSS Float property:
Property Description value
clear the clear property is used to avoid left,
elements after the floating elements which right,both
flow around it. none, inherit
float it specifies whether the box should float or not.
left,right,none,inherit
CSS Float property Values:
Value Description
none It specifies that the element is not flaoted, and will be displayed just where it occurs in the text. this is a default value.
left It is used to float he element to the left.
right It is used to float the element to the right.
initial It sets the property to its initital value.
inherit It jis used to inherit this property from its parent element.
"HTML and CSS: the building blocks of the web! Master these essential frontend technologies with our courses in Mumbai. From structuring web pages to ...
Kickstart your tech career with the best Full Stack Developer Course in Chandigarh at CBitss. Learn front-end and back-end technologies including HTML...
At Certiwise, getting the best full stack training in Mohali empowers students with the latest technologies to handle client projects with valuable so...
Ready to kickstart your web design career? Join our hands-on Web Design Bootcamp and learn the skills top employers are looking for! From HTML & C...
More Details