清除所有默认的CSS样式

2014-07-15 19:45:36

做前端的必备,有朋友问我这个,我也刚好没有整理过,就攒了一下~应该挺全的,留着以后方便用:

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, font, 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,p { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }

微信平台创建菜单

前提:拥有微信认证的订阅号或服务号 比较简单,看官方文档分分钟的事~创建菜单需要access token,这里将access token的获取和创建菜单结合起来成一个单独的文件,取名为menu.php,专门用来创建菜单,只需访问即可。 menu.php [php] [/php]

Undefined property: Index::$load

I just started to develop a new site with CI.  For now, I only have three view files loaded on my index pages which are made strictly with HTML.  When I visit the index page, I get the following error: *A PHP Error was encountered * *Severity: Notice * *Message: Undefined property: