'float' Example : float : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » float »

 

'float' Example



    
<html>
<body>
<img id="myImage" 
     src="http://www.navioo.com/style/logo.png" 
     border="0" 
     style="float:left">

<button onclick="myImage.style.styleFloat='right'">Change float to right</button>
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» float