Home > Web Front-end > HTML Tutorial > jquery.mobile莫名其妙多了很多空格_html/css_WEB-ITnose

jquery.mobile莫名其妙多了很多空格_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:29:53
Original
1174 people have browsed it

代码很简单,如下:

<div class="queryList">		<table>		  <thead>		    <tr>		      <th width="10%">Rank</th>		      <th width="70%">Movie Title</th>		      <th width="20%">Year</th>		    </tr>		  </thead>
Copy after login

问题是:
在div和table之间多了很多的 
如截屏:

f12可看到div和table之间多了很多的 :

请问这是为什么?怎么解决?谢谢。


回复讨论(解决方案)

我也遇到了同样的问题,楼主解决了吗

刚解决了这个问题,大概原因是直接从jquerymobile官方复制过来的代码空格的编码是ansi,我们使用utf-8编码的时候出了问题,手敲了一遍源码后格式就正常了.比较坑,后来者注意了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template