求助大神,请问有什么简单的代码可以解决html和css兼容性问题?

xiao哈哈哈 2017-08-29 05:41:08
求助大神,请问有什么简单的代码可以解决html和css兼容性问题?
...全文
264 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
daswcszxw 2017-09-15
  • 打赏
  • 举报
回复
最简单,最直接的方法就是写hack。
x80819091 2017-09-15
  • 打赏
  • 举报
回复
导入normalize.css能解决一般的兼容问题,之后用modernizer还有polyfill之类的
pengxiaoshuang0 2017-09-14
  • 打赏
  • 举报
回复
body,div,hr,blockquote,ul,ol,li,table,th,td,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,input,button,select,textarea,fieldset,legend{margin:0;padding:0} body{font-size:12px;color:#333333; font-family:Tahoma,Geneva,sans-serif,'宋体';} h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal} .clearfix{*zoom:1} .clearfix:after{display:block;clear:both;content:".";visibility:hidden;height:0} *+html img{-ms-interpolation-mode:bicubic} .clearboth{ clear:both;} ul,ol{list-style:none} fieldset,img{border:0} address,cite,dfn,em,var{font-style:normal} strong,.fcu{font-weight:bold} table{border-collapse:collapse;border-spacing:0} button,.fhand{cursor:pointer} button,input,select,textarea{font-size:100%; } html{zoom:expression(function(ele){ele.style.zoom="1";document.execCommand("BackgroundImageCache",false,true)}(this))} /*通用*/ /* 5b0101 750303 */
天际的海浪 2017-08-29
  • 打赏
  • 举报
回复
让全世界都用同一个浏览器
xiao哈哈哈 2017-08-29
  • 打赏
  • 举报
回复
什么框架呢?
当作看不见 2017-08-29
  • 打赏
  • 举报
回复
想太多了,我也希望有简单的代码就解决,不过简单的框架倒是有的

61,115

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧