I would like to have a CSS style with the position of the div property as fixed. This separate div is placed inside another div with some text. But a div with a fixed CSS position is fixed at the top of the text. Thus, the text is hidden under this div. I need to put div div and images in line with each other. So the text bypasses this image, and nothing hides the image under it.
<html> <head> <style type="text/css"> .newspaper { -moz-column-count:3; -webkit-column-count:3; column-count:3; -webkit-column-width:100px; column-width:100px; } </style> </head> <body> <p><b>Note:</b> Internet Explorer and Opera do not support the column-count property.</p> <div class="newspaper" > <div class="changeFont" style='font-size:18px;'> 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 </div> <div style="float: right; position:fixed; left:170px;top:80px;display:inline-table;"> <img id="imageTable" width="280" height="80" src="http://www.google.co.in/logos/2011/alamara11-hp.jpg"/> </div> <div class="changeFont" style='font-size:18px;'> 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. </div> </body> </html>
source share