简单的问题,我需要创建具有批处理文件的reset.css文件。我知道如何制作短文本文件,但在尝试输入长文本时无法使用。在cmd中创建长文本文件
这里的文字
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;
}
我只是需要一些命令,所以我可以在这个文本粘贴到批处理文件,所以可以将它保存
认真有没有其他更短的方式? – 2013-05-12 14:52:51
你用特殊字符'<> |&'测试过了吗? – Endoro 2013-05-12 14:56:01
@Endoro TextZipper自动转义它们:D – 2013-05-12 15:59:32