Difference between revisions of "Div Element"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> <div id="container"> <div style="float: left;"> This is floated left </div> <div style="float:right;"> This is floated right </div> </div> <div style="clear:both;">...")
 
 
Line 4: Line 4:
 
   <div style="float:right;"> This is floated right </div>
 
   <div style="float:right;"> This is floated right </div>
 
</div>
 
</div>
<div style="clear:both;"> </div>
+
<div style="clear:both; text-align:center">This text is centered</div>
 
</html>
 
</html>
 
[[Category:Elements]]
 
[[Category:Elements]]

Latest revision as of 15:25, 27 March 2014

This is floated left
This is floated right
This text is centered