Blog

Blogger and clear:both weirdness!

22:21 Sunday, October 18

That's odd, I don't remember including any divs with clear:both style specifications, and yet they appear in the code for my blog entries! It hasn't been an issue until I used a layout in which I had a floating element right next to my blog content. "Yikes!" I said. "How do I make a fix for something where I have decreased control over my own code??"

After a few Google searches, I came across this solution--the use of !important. Basically, using my external stylesheet to overrule Blogger's unnecessary and very odd CSS injection. No gaps for me, not today!

comments