programming-examples/css/Clear left clear none.html
2019-11-15 12:59:38 +01:00

32 lines
752 B
HTML

<html>
<head>
<title>Clear Left Clear None</title>
<style>
#secL {
position:absolute;
}
.style1 {
clear:left!important;
}
.style2 {
clear:none!important;
}
</style>
</head>
<body>
<img src="http://www.happycodings.com/images/happy.gif"
width="200"
height="120"
style="float:left">
<a id="myL"
href="http://www.happycodings.com/images/happy.gif"
onClick="this.className='style2';return false"
onMouseOver="this.className='style1'">
Disabled link
</a>
<img src="http://www.happycodings.com/images/happy.gif"
alt="This is a float=right image"
width="100"
height="80">
</body>
</html>