The Long Dark Tech-Time of the Soul

This is a technology focused blog that describes my trials and tribulations with techonlogy which, no matter what brave new world is promised to be just around the corner, nearly always fails to live up to expectations.

Monday, June 27, 2005

Blogger screwed up my blogs!

For some reason Blogger decided to start adding an HTML div section to the start and end of each of my blog posts. That wouldn't be so bad but they gave it a style attribute of "clear:both" which totally screwed up this and other blogs I have because there's a little column to the right with the archive index and such. The result of the clear directive was to make all the text in the blog entire zoon down to below the point where the right hand column ends - most often below the bottom of the page.

Fortunately I found someone else who had noticed the same thing and blogged about it. Like me they had complained to Blogger with no resolution or feedback. Fortunately some CSS guru pointed out that one could modify the CSS code in the blog template to include:

.Post div { clear: none !important; }

which overrides the clear attribute set on Bloggers inserted div.

Now I know why they did what they did - they wanted to avoid the problem of floating images that are embedded into posts sometimes. If you don't put a clear at the top or bottom of a post then it can cause the next post to appear to the left or right of an image in the previous post. However I've always done this as needed and generally float my graphics to the left not right to avoid conflicts with my menu column.

Its too bad they didn't test their "fix" with more templates - including their own standard ones which this blog's is based on.

0 Comments:

Post a Comment

<< Home