
<!DOCTYPE HTML PUBliC "-//W3C//DTD xhtml 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><HTML xmlns="http://www.w3.org/1999/xhtml"><head> <Title>CSS IE 8 cursor test</Title> <style type="text/CSS" media="screen"> .icon-button { float: left; cursor: pointer; } .ui-icon { wIDth: 15px; height: 10px; background-image: url(http://sstatic.net/so/img/replIEs-off.png); } </style></head><body> <div ></div> <div>Sample Text</div> </body></HTML> 什么是迁移是问题的根源?什么可能是workarrounds?
提前致谢.
附:改变DOCTYPE是不可能的.
此外,如果我删除浮动:左边这个例子它似乎“固定”,但当我在网站上删除它,除了破碎的设计,它也没有帮助.
演示:http://jsbin.com/asiju(可编辑自http://jsbin.com/asiju/edit)
HTML源代码:
<!DOCTYPE HTML PUBliC "-//W3C//DTD xhtml 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><HTML xmlns="http://www.w3.org/1999/xhtml"> <head> <Title>CSS IE 8 cursor test</Title> <style type="text/CSS" media="screen"> .icon-button { float: left; cursor: pointer; } .ui-icon { wIDth: 15px; height: 10px; background-image: url(http://sstatic.net/so/img/replIEs-off.png); } .dummy-image { wIDth: 15px; height: 10px; vertical-align: top; border: none; } </style> </head> <body> <div ><img src="data:image/gif;base64,R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAQAICVAEAOw=="/></div> <div>Sample Text</div> </body></HTML> 总结 以上是内存溢出为你收集整理的html – IE 8 div和css游标全部内容,希望文章能够帮你解决html – IE 8 div和css游标所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)