Blogger Inserting “div clear” In Posts?
Amit Agarwal’s blog is arranged so his posts flow around the Google AdSense ads on the page. Or at least they did, until Google changed something in Blogger that forces posts to be completely seperate from the ads. Blogger is now inserting a bit of code at the beginning of page content that forces out any other page elements. You can see the code just by clicking View > Source:
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" >
< /script >
< /div >
< p >< div style="clear:both;" >< /div >Something strange is happening
This is exactly why I don’t like the use of hosted blogging solutions. If an upgrade to Wordpress added something annoying like that, I’d just cut it out in an instant.
(via Findory)
UPDATE: Biz notes that the addition of image uploading to Blogger has resulted in some editing of the code that breaks some templates, and that they are working to fix it.
(via Blogger Buzz)
UPDATE 2: Biz posts a fix on Blogger Buzz. Just add the following code in your template, right after the < style > or < style type="text/css" >:
#main #menu {
position: absolute;
right: 21px;
}
Hey, Amit, let me know if it works!



The fix only works for those using the Bluebird template, so will be of no use to most people. There’s another solution I mention here:
www.stephennewton.com/2005/06/scroll-right-down.html
Comment by Stephen Newton | June 28, 2005