<pre class=" language-css" style="box-sizing: inherit; overflow: auto; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; text-align: left; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; position: relative; direction: ltr; padding: 1em; display: block; margin: 0px auto; background-color: rgb(0, 0, 0);"><font color="#404040"><code class=" language-css" style="color: rgb(248, 248, 242); font-family: iran-bold, Tahoma, sans-serif; font-size: 1em; box-sizing: inherit;"><span class="token property" style="box-sizing: inherit; color: rgb(249, 38, 114);">float</span><span class="token punctuation" style="box-sizing: inherit;">:</span> right<span class="token punctuation" style="box-sizing: inherit;">;</span> <span class="token property" style="box-sizing: inherit; color: rgb(249, 38, 114);">float</span><span class="token punctuation" style="box-sizing: inherit;">:</span> left<span class="token punctuation" style="box-sizing: inherit;">;</span> <span class="token property" style="box-sizing: inherit; color: rgb(249, 38, 114);">float</span><span class="token punctuation" style="box-sizing: inherit;">:</span> none<span class="token punctuation" style="box-sizing: inherit;">;</span> <span class="token comment" spellcheck="true" style="box-sizing: inherit; padding: 1em; font-size: 0.871em; border-radius: 2px; color: rgb(112, 128, 144);">/* مقدار پیشفرض */</span> <span class="token property" style="box-sizing: inherit; color: rgb(249, 38, 114);">float</span><span class="token punctuation" style="box-sizing: inherit;">:</span> inherit</code><font color="#404040" face="yekan, tahoma"><span style="white-space: normal;"> </span></font></font></pre> پیش نمایش کد::
float: right; float: left; float: none; /* مقدار پیشفرض */ float: inherit