在header.htm,<head>中加入如下CSS代码,搜索框严重错位,字体变大,请告诉帮忙更正,小弟在线等
- <style type="text/css">
- <!--
- html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, img, ins, kbd, q, s, samp, small, strike, strong, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, hr { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align:baseline; background: transparent; text-decoration:none; }
- body { line-height: 1; font-family:Geneva, Arial, Helvetica, sans-serif; }
- 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; }
- a{ color:#1952a5; text-decoration:underline;}
- a:hover{ color:#e95400; text-decoration:none;}
- .clr {clear:both; }
- .topdiv { font-size:12px; line-height:20px; width:920px; margin:0 auto;}
- .left,.center,.right { float:left}
- .left { margin-right:10px;}
- .center { float:left;margin-right:10px; width:612px;}
- .center ul {word-break:keep-all; text-overflow:ellipsis; word-break:keep-all;
- }
- .center ul li { float:left; margin-right:12px;word-wrap: break-word; word-break: normal; display: inline;}
- .banner { margin:10px 0;}
- -->
- </style>
复制代码
|