开发者

CSS margin-transference bug (ie6 + ie7), would like input

开发者 https://www.devze.com 2022-12-10 02:44 出处:网络
I am almost done with my project, but have one final looming problem that I\'d like some advice on. Info on the CSS \"margin transference bug\" relating to ie6 and ie7 can be found here and here.

I am almost done with my project, but have one final looming problem that I'd like some advice on. Info on the CSS "margin transference bug" relating to ie6 and ie7 can be found here and here.

So I have all of these heading tags with margin-bottom: 24px. They sit above any number of left-floated divs, depending on the page.

Each of the floated divs sitting below the heading tags "inherit" the heading tags' margin of 24px.

Short of putting EVERY SINGLE heading tag in it's own div, I am out of ideas. Do you have any ideas?

EDIT:

May开发者_开发问答be a BETTER question is, "how would you add space below all heading tags without using margin?" Line-height isn't quite cutting it, but what about padding-bottom?


If you're not using background images or background colors behind your headings, I don't see any problem with using padding-bottom.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号