ZVON > References > CSS2 Reference

Go to Standard
Property: float
Inherited: no
Value: left | right | none | inherit
Initial: none
Applies to: all but positioned elements and generated content
Media: visual
Percentages: N/A

Examples:



     <AAA>
          <BBB>text text text text
               <CCC>A sentence inside a text.</CCC> text text text text text text text text text text text text text text text text text text
          </BBB>
     </AAA>
View
BBB {display: block;
width: 100pt;
border: solid thin red}
CCC {float: left;
width: 30pt;
border: solid thin blue}



     <AAA>
          <BBB>text text text text
               <CCC>A sentence inside a text.</CCC> text text text text text text text text text text text text text text text text text text
          </BBB>
     </AAA>
View
BBB {display: block;
width: 100pt;
border: solid thin red}
CCC {float: right;
width: 30pt;
border: solid thin blue}



     <AAA>
          <BBB>text text text text
               <CCC>A sentence inside a text.</CCC> text text text text text text text text text text text text text text text text text text
          </BBB>
     </AAA>
View
BBB {display: block;
width: 100pt;
border: solid thin red}
CCC {float: none;
width: 30pt;
border: solid thin blue}



     <XXX>
          <BBB>111111</BBB>
          <AAA>AAAAA</AAA>
          <BBB>222222</BBB>
     </XXX>
View
AAA {float:left; color:red; }


     <XXX>
          <BBB>111111</BBB>
          <AAA>AAAAA</AAA>
          <BBB>222222</BBB>
     </XXX>
View
AAA {float:right; color:red; }



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet