Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS Position Fixed
    primarykey
    data
    text
    <p>I would like to have a CSS Style with position property of a div as fixed. This particular div is placed inside another div with some text. But the div with CSS position proverty fixed goes over the top of the text. So the text gets hide under the that div. I need to place the text div and image div aligned to each other. So that the text goes around that image and nothing gets hide under the image.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;style type="text/css"&gt; .newspaper { -moz-column-count:3; /* Firefox */ -webkit-column-count:3; /* Safari and Chrome */ column-count:3; -webkit-column-width:100px; column-width:100px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Internet Explorer and Opera do not support the column-count property.&lt;/p&gt; &lt;div class="newspaper" &gt; &lt;div class="changeFont" style='font-size:18px;'&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation &lt;/div&gt; &lt;div style="float: right; position:fixed; left:170px;top:80px;display:inline-table;"&gt; &lt;img id="imageTable" width="280" height="80" src="http://www.google.co.in/logos/2011/alamara11-hp.jpg"/&gt; &lt;/div&gt; &lt;div class="changeFont" style='font-size:18px;'&gt; ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at 9999999999999999 111111111111111 vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload