CSS how use clear css - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

How use clear in css ?


 261

Show ResultCSS


4

<!DOCTYPE html>
<html>
<head>
<style>
img {
float: left;
}

p.clear {
clear: both;
}

</style>
</head>
<body>

<img src="/Images/logo.jpg" width="100" height="130">
<p>This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.</p>
<p class="clear">This is also some text. This is also some text. This is also some text. This is also some text. This is also some text. This is also some text.</p>
<p><strong>Remove the "clear" class to see the effect.</strong></p>

</body>
</html>


By        
The power of the user (%)
13%



The most helpful CSS solutions

How to set bootstrap popover borders in css ?How to set bootstrap popover borders in css ?CSS

Click to see more ...

  1.3K     91

animate using cssanimate using cssCSS

Click to see more ...

  1.2K     83

How to create a cylinder using css ?How to create a cylinder using css ?CSS

Click to see more ...

  2K     79

How set border bottom using css ?How set border bottom using css ?CSS

Click to see more ...

  1.2K     69

How to set the starting position of a background image using css ?How to set the starting position of a background image using css ?CSS

Click to see more ...

  713     48

center a fixed element on the pagecenter a fixed element on the pageCSS

Click to see more ...

  848     48

css style browser scrollbarcss style browser scrollbarCSS

Click to see more ...

  594     39

How to overline text using css ?How to overline text using css ?CSS

Click to see more ...

  371     32

How to underline text using css ?How to underline text using css ?CSS

Click to see more ...

  416     26

How to set the cursor pointer of an element using css ?How to set the cursor pointer of an element using css ?CSS

Click to see more ...

  423     26

Welcome aboard!
We are happy you are here and
wish you good net-raft!