在CSS 前掛上這一段「Reset CSS」的語法,就可以輕鬆解決各大瀏覽器的差異
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ 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; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; }
Thanks for the marvelous posting! I certainly enjoyed reading it,
you happen to be a great author.I will make certain to bookmark your blog and
definitely will come back from now on. I want to encourage continue
your great writing, have a nice morning!
I was recommended this blog by my cousin. I’m not sure whether
this post is written by him as no one else know such detailed about my difficulty.
You are amazing! Thanks!
Hmm it looks like your site ate my first comment (it was
extremely long) so I guess I’ll just sum it up what
I had written and say, I’m thoroughly enjoying
your blog. I as well am an aspiring blog writer but I’m still new to everything.
Do you have any tips and hints for novice blog writers? I’d certainly appreciate it.
Greetings! I’ve been following your weblog for some time now and
finally got the courage to go ahead and give you a shout
out from Kingwood Tx! Just wanted to tell you keep up the
great job!