gpt4 book ai didi

css 特殊的 IE7 标签

转载 作者:太空宇宙 更新时间:2023-11-03 22:08:07 25 4
gpt4 key购买 nike

*html .... (IE6)
html > body ....(IE7/FF)

* html 是 IE6 的特殊标签。 IE7也有东西吗?我只需要 IE7 中的一些小的 CSS 细节。仅适用于没有 FF 的 IE7。

最佳答案

我已经将这个答案用于另一个问题,但它也适用于此:

I have a solution that I use only when I have to, after I build my html & css valid and working in most browsers, I do the occasional hack with this amazing piece of javascript from Rafael Lima. http://rafael.adm.br/css_browser_selector/

It keeps my CSS & HTML valid and clean, I know it's not the ideal solution, using javascript to fix hacks, but as long as your code is originally as close as possible (silly IE just breaks things sometimes) then moving something a few px with javascript isn't as big of a deal as some people think. Plus for time/cost reasons is a quick & easy fix.

关于css 特殊的 IE7 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3807575/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com