June 6, 2007

Collapsing Margins and Other Problems

Filed under: Blog Design, Web Design, WordPress — HDW @ 3:53 pm

This new theme I have up has been working nicely for me. Just enough cowboy in this theme to make me feel at home. I tested it extensively in Internet Explorer and Firefox. It was tested in Opera too. No problems. One of the recent IE updates seems to have induced a margin collapse error in the left margin though. Not too difficult to fix. That is, not to difficult to fix once you realize what’s happening. Really annoying if you don’t initially realize what the problem is. It seemed to be a poorly nested element, and I searched for that for quite some time to no avail. Because that wasn’t what it was. Turns out I had two problems. The margin collapse that I eventually found, and a plugin that was garbling some code.

Anybody having trouble with the Comments QuickTags Plugin? I ended up turning it off here and on several other blogs I maintain. It was breaking the permalinked pages on all of them. Turn off the plugin and they snap right back.

The solution to the margin collapse error in case anybody is interested, is to add a border to the element outside the one with the collapsing margin. Not exactly intuitive. Go read Andy Budd’s No Margin for Error post for a really good explanation of this.

Trackposted to Blue Star Chronicles, Perri Nelson’s Website, Webloggin, The Amboy Times, The Random Yak, and On the Horizon, thanks to Linkfest Haven Deluxe.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.