CSS初始化 Resets

2013-6-5 liyangweb.com 李杨 HTML

经常为同样的CSS在不同的浏览器中显示效果差异头疼,有了这个就简单多了,把下面代码保存为init.css,在每个页面引入。页面布局就简单多了。


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html { height: 101%; }
body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, sans-serif; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ”; content: none; }
strong { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }
p { font-size: 1.2em; line-height: 1.0em; color: #333; }


标签: CSS初始化

评论:

tailflappers
2019-01-18 22:02
<a href="http://www.viewzivisuals.com/nike-air-max-95-ultra-essential-blue-note-runningd">nike air max 95 ultra essential blue note</a> <a href="http://www.dishyhair.com/auburn-tigers-7-pat-sullivan-navy-blue-jersey-nflf">auburn tigers 7 pat sullivan navy blue jersey</a> <a href="http://www.kiligold.com/air-jordan-8-navy-skoa">air jordan 8 navy</a> <a href="http://www.idlvisual.com/nike-flyknit-roshe-run-for-sale-georgia-runningd">nike flyknit roshe run for sale georgia</a> <a href="http://www.minneimaging.com/billig-nike-air-max-ltd-herren-gr%C3%BCn-runninge">billig nike air max ltd herren gr眉n</a> <a href="http://www.babiesdomains.com/white-pink-indianapolis-colts-47-nfl-new-era-strawberry-smoothie-cap-hatb">white pink indianapolis colts 47 nfl new era strawberry smoothie cap</a>
tailflappers http://www.tailflappers.com/
tragemaus
2019-01-18 19:13
<a href="http://www.synthcourses.com/yeezy-boost-350-v2-gr%C3%B8nn-obuvg">yeezy boost 350 v2 gr酶nn</a> <a href="http://www.talentbschool.com/nike-roshe-run-r%C3%B8d-floral-customs-chaussuresa">nike roshe run r酶d floral customs</a> <a href="http://www.chatavalanche.com/adidas-tubular-runner-weave-sort-roots-butya">adidas tubular runner weave sort roots</a> <a href="http://www.demuslimah.com/nike-lebron-9-playground-basketbtout-obuvd">nike lebron 9 playground basketbtout</a> <a href="http://www.getbizbuilder.com/nike-air-jordan-6-vi-retro-2014-sort-infrar%C3%B8d-scarpea">nike air jordan 6 vi retro 2014 sort infrar酶d</a> <a href="http://www.harveenandraj.com/nike-free-run-2-noir-bleu-vert-scarpef">nike free run 2 noir bleu vert</a>
tragemaus http://www.tragemaus.com/
miendiation
2019-01-16 07:27
<a href="http://www.daddeaze.com/nike-tanjun-mens-grey-yarn-runningf">nike tanjun mens grey yarn</a> <a href="http://www.debracousins.com/nfl-pittsburgh-steelers-color-rush-limited-antonio-brown-mens-football-jersey-nflv">nfl pittsburgh steelers color rush limited antonio brown mens football jersey</a> <a href="http://www.yankaripark.com/air-jordan-retro-12-black-mint-green-trainersa">air jordan retro 12 black mint green</a> <a href="http://www.yicailottery.com/nike-dunk-high-alle-bl%C3%A5-scarpec">nike dunk high alle bl氓</a> <a href="http://www.calebcraw.com/nike-kobe-5-violet-jaune-kurpesc">nike kobe 5 violet jaune</a> <a href="http://www.liquidputter.com/discount-ray-ban-cats-ecaille-sunglassesg">discount ray ban cats ecaille</a>
miendiation http://www.miendiation.com/
ruyvu424
2019-01-11 17:30
<a href="http://www.sjkrsnkj.com/roshe-run-azul-amarillo-kurpesa">roshe run azul amarillo</a> <a href="http://www.uw756gei.com/nike-air-presto-ultra-flyknit-triple-schwarz-kurpesc">nike air presto ultra flyknit triple schwarz</a> <a href="http://www.kfpcbsi0.com/nike-kd-trey-5-basketballe-schuhe-on-verkauf-obuva">nike kd trey 5 basketballe schuhe on verkauf</a> <a href="http://www.gojfx342.com/nike-free-5.0-swarovski-rhinesteins-gr%C3%BCn-glow-schuhef">nike free 5.0 swarovski rhinesteins gr眉n glow</a> <a href="http://www.6k6gzmtk.com/air-jordan-12-university-blu-grigio-kit-chaussuresg">air jordan 12 university blu grigio kit</a> <a href="http://www.4o249gfo.com/nike-air-pegasus-32-bl%C3%A5-obuvd">nike air pegasus 32 bl氓</a>
ruyvu424 http://www.ruyvu424.com/
acforlessllc
2019-01-08 12:27
<a href="http://www.heslaatours.com/nike-air-max-90-kpu-green-gold-skob">nike air max 90 kpu green gold</a> <a href="http://www.prostekrasna.com/wichita-state-shockers-of-the-world-ncaa-ross-memory-fit-cap-gray-black-hata">wichita state shockers of the world ncaa ross memory fit cap gray black</a> <a href="http://www.altharmony.com/air-jordan-11-xx9-red-runninge">air jordan 11 xx9 red</a> <a href="http://www.cosmicupcake.com/air-jordan-5-retro-blu-quartz-schuhea">air jordan 5 retro blu quartz</a> <a href="http://www.btmtecled.com/air-jordan-12-gul-s%C3%B8lv-scarpeb">air jordan 12 gul s酶lv</a> <a href="http://www.torcgunstore.com/nike-air-max-95-green-spain-shoeso">nike air max 95 green spain</a>
acforlessllc http://www.acforlessllc.com/
muchopiso
2019-01-08 03:53
<a href="http://www.getwichquick.com/billig-nike-lebron-14-menns-bl%C3%A5-sportsb">billig nike lebron 14 menns bl氓</a> <a href="http://www.goseecreate.com/replica-1-linha-adidas-springblade-trainerse">replica 1 linha adidas springblade</a> <a href="http://www.pamelakemplac.com/new-adidas-soccer-boots-skor">new adidas soccer boots</a> <a href="http://www.ksmartcity.com/amari-cooper-away-jersey-nflr">amari cooper away jersey</a> <a href="http://www.eventyrklub.com/oakland-raiders-15-michael-crabtree-olive-2017-salute-to-service-limited-jersey-nflv">oakland raiders 15 michael crabtree olive 2017 salute to service limited jersey</a> <a href="http://www.dronesofusa.com/light-blue-ralph-lauren-polo-shirt-polor">light blue ralph lauren polo shirt</a>
muchopiso http://www.muchopiso.com/
compositeweb
2019-01-04 03:49
<a href="http://www.arsindustrialis.net/nike-kobe-11-tutti-verde-schuhea">nike kobe 11 tutti verde</a> <a href="http://www.avscience.net/nike-zoom-clear-out-rouge-rose-chaussuresa">nike zoom clear out rouge rose</a> <a href="http://www.babyblend.net/nike-free-run-3-5.0-mujeres-amarillo-gris-obuva">nike free run 3 5.0 mujeres amarillo gris</a> <a href="http://www.bancoideas.net/nike-air-max-90-bambini-blu-grigio-butyc">nike air max 90 bambini blu grigio</a> <a href="http://www.barcosquecantan.net/yeezy-350-boost-triple-sort-girl-scarpeb">yeezy 350 boost triple sort girl</a> <a href="http://www.benefitsnw.net/flyknit-lunar-1-gr%C3%A5-bl%C3%A5-and-hvit-kurpesf">flyknit lunar 1 gr氓 bl氓 and hvit</a>
compositeweb http://www.compositeweb.net/
annanilsen
2018-12-30 09:57
<a href="http://www.rispaqoutiano.com/ralph-lauren-pony-polo-sort-gr%C3%B8n-poloz">ralph lauren pony polo sort gr酶n</a> <a href="http://www.visualjobads.com/asics-gel-quantum-360-oransje-gul-chaussuresa">asics gel quantum 360 oransje gul</a> <a href="http://www.jewelsavers.com/adidas-climacool-ride-iv-hvid-guld-schuhee">adidas climacool ride iv hvid guld</a> <a href="http://www.legalguards.com/nike-air-max-tailwind-8-dam%C3%A4nner-blau-gold-scarpea">nike air max tailwind 8 dam盲nner blau gold</a> <a href="http://www.minneimaging.com/nike-kyrie-2.5-gris-or-kurpesf">nike kyrie 2.5 gris or</a> <a href="http://www.minsonphoto.com/nike-womens-tim-brown-limited-black-home-jersey-oakland-raiders-nfl-81-vapor-untouchable-nflr">nike womens tim brown limited black home jersey oakland raiders nfl 81 vapor untouchable</a>
annanilsen http://www.annanilsen.com/
elindigo
2018-12-29 12:30
<a href="http://www.onlyopenhomes.com/nike-free-run-5.0-university-blu-chip-butye">nike free run 5.0 university blu chip</a> <a href="http://www.ovnivape.com/hombres-nike-flyknit-lunar-2-oro-rosado-kurpesd">hombres nike flyknit lunar 2 oro rosado</a> <a href="http://www.philipelara.com/mujer-ralph-lauren-rojo-azul-pony-short-sleeved-polo-polow">mujer ralph lauren rojo azul pony short sleeved polo</a> <a href="http://www.ehisem.com/adidas-11pro-adipure-trx-gr%C3%B8n-lilla-butyf">adidas 11pro adipure trx gr酶n lilla</a> <a href="http://www.mcharpi.com/ralph-lauren-tees-gelb-schwarz-poloz">ralph lauren tees gelb schwarz</a> <a href="http://www.naijafitgirl.com/hombres-nike-air-max-2016-blanco-rojo-chaussuresf">hombres nike air max 2016 blanco rojo</a>
[url=http://www.elindigo.com/]elindigo[/url]
x6dbypaf
2018-12-28 21:52
<a href="http://www.febrsjsq.com/lebron-14-oro-mine-obuvf">lebron 14 oro mine</a> <a href="http://www.eh440fwo.com/flyknit-lunar-3-university-rouge-wings-kurpese">flyknit lunar 3 university rouge wings</a> <a href="http://www.yz413tae.com/adidas-originals-superstar-80s-gr%C3%B8n-kurpesf">adidas originals superstar 80s gr酶n</a> <a href="http://www.kojqfbo6.com/free-og-14-br-marr%C3%B3n-negro-schuheg">free og 14 br marr贸n negro</a> <a href="http://www.eax5s1up.com/kvinners-asics-gel-kinsei-5-gr%C3%A5-oransje-scarpef">kvinners asics gel kinsei 5 gr氓 oransje</a> <a href="http://www.iumtx7cb.com/nike-lebron-13-s%C3%B8lv-himmelen-bl%C3%A5-kurpesa">nike lebron 13 s酶lv himmelen bl氓</a>
x6dbypaf http://www.x6dbypaf.com/

发表评论:

Powered by emlog 冀ICP备13011830号-1