我有一个表,其中每行有 4 列,我想占据行中所有空间并且没有这么大的边距的列。该怎么办?我得到的结果是这样的:
这是代码:
<body>
<div data-role="page" class="type-interior">
<div data-role="header" data-theme="f">
<h1>Search</h1>
<a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
<a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>
</div><!-- /header -->
<div data-role="content">
<div class="content-primary">
<ul data-role="listview" data-filter="true">
<li><a href="index.html">
<div data-role="content"> <div class="ui-grid-c">
<div class="ui-block-a">
<div class="ui-bar ui-bar-e" >Block A</div>
</div>
<div class="ui-block-b">
<div class="ui-bar ui-bar-e" >Block B</div>
</div>
<div class="ui-block-c">
<div class="ui-bar ui-bar-e" >Block C</div>
</div>
<div class="ui-block-d">
<div class="ui-bar ui-bar-e" >Block D</div>
</div>
</div>
</div>
</a></li>
<li><a href="index.html">
<div data-role="content"> <div class="ui-grid-c">
<div class="ui-block-a">
<div class="ui-bar ui-bar-e" >Block 1</div>
</div>
<div class="ui-block-b">
<div class="ui-bar ui-bar-e" ">Block 2</div>
</div>
<div class="ui-block-c">
<div class="ui-bar ui-bar-e" >Block 3</div>
</div>
<div class="ui-block-d">
<div class="ui-bar ui-bar-e" >Block 4</div>
</div>
</div>
</div>