Garden Blogroll :::

Tangled Branches: Cultivated

happenings in and around my zone 6b gardens in northern Virginia and in central Virginia

Saturday, June 25, 2005

Blogger Bug Workaround

Testing a workaround for Blogger's new bug. It seems that sometime last week, someone at Blogger added some HTML styling to all new posts. The new bit of code they added was: <div style="clear:both;"></div> at the beginning of the post and <div style="clear:both; padding-bottom: 0.25em;"></div> at the end of the post. The first set of tags has the effect of forcing your post to start below anything you may have in a sidebar (links to archived posts, for example). I came up with a quick and dirty workaround to add a negative top margin to the post by placed the following tags at the very beginning of the post: </p><p style="clear: none; margin-top: -30em">. If they've broken your template too, you can do the same, but you'll have to fiddle with the amount of negative margin you need to accomodate your sidebar. Then you'll probably have to take it out of the post you just created when you write the next post, but I haven't tested that part yet. Also, you can't preview your posts in the Blogger post editor if you've embedded this code. And I don't see any easy workaround for the end-of-post tags they added.

I have no idea why they did this, but I suspect it has something to do with them now hosting images in posts. I noticed today in reading other blogs hosted by Blogger that they've broken a lot of templates, not just mine.

posted by Entangled at 6:02 PM ::: Permalink

0 Comments:

Post a Comment

<< Tangled Branches: Cultivated, main page