开发者

CSS image float div in IE6

开发者 https://www.devze.com 2022-12-30 20:56 出处:网络
In the bottom cap of this page (bottom with corners) I seem to be having a weird IE6 issue. I\'ve tried Google with no luck, as really, how do you ask this question.

In the bottom cap of this page (bottom with corners) I seem to be having a weird IE6 issue. I've tried Google with no luck, as really, how do you ask this question.

In IE6, the corner images开发者_Python百科 that are floated left and right seem to cause the whitespace to drop.

http://www.duncanhadleytriathlon.ca/

Any suggestions for why this may be?


Are you using paddings? If so, you must subtract the padding from your other values (left/right). I don't know if it helps or not but I noticed that there is also an issue (probably the same one that you said) in Firefox 3.6.3. I suggest you use the DD_roundies javascript for making rounded corners in IE browsers. It can be found at: www.dillerdesign.com/experiment/DD_roundies/

[Edit]: The issue that i said is about the green panel's rounded corner at the bottom of the page.


My suggestion would be to use position: absolute to place the images instead.

Other ideas would be:

  • Drop #mtmi and just make the background of #mtm white (you'd need to modify the images to make the background black instead of transparent.
  • Even possibly drop #mtm and but the images directly in #main
  • Ignore old browers and use CSS3 rounded corners.
0

精彩评论

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

关注公众号