正在回答
你给的链接无法打开,可以尝试给table设置border=“0”,cellpadding="0" cellspacing="0".
因为表格嵌套的层级比较多,有时会有自带的样式,有的样式是我们无法去控制的,所以这个区域建议使用div去写。
代码如下:
<div class="about-bottom">
<table>
<tr>
<td>
<div class="about-img-wrapper">
<img src="images/b1.jpg">
<div class="triangle-right"></div>
</div>
<div class="about-img-des-wrapper">
<h3>Library</h3>
<h4>Lorem Ipsum is simply dummy text of the</h4>
<h4>printing and typesetting industry</h4>
<span>Lorem Ipsum has been the industry's standard dummy</span><br>
<span>text ever since the 1500s, when an unknown printer took</span><br>
<span>a gallery of type and scrambled it to make a type</span><br>
<span>specimen book.</span><br>
<div class="explore-btn-wrapper">
<button class="explore">EXPLORE</button>
</div>
</div>
<div class="about-img-wrapper">
<img src="images/b2.jpg">
<div class="triangle-right"></div>
</div>
<div class="about-img-des-wrapper">
<h3>Computer Lab</h3>
<h4>Lorem Ipsum is simply dummy text of the</h4>
<h4>printing and typesetting industry</h4>
<span>Lorem Ipsum has been the industry's standard dummy</span><br>
<span>text ever since the 1500s, when an unknown printer took</span><br>
<span>a gallery of type and scrambled it to make a type</span><br>
<span>specimen book.</span><br>
<div class="explore-btn-wrapper">
<button class="explore">EXPLORE</button>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="about-img-des-wrapper">
<h3>Conference Hall</h3>
<h4>Lorem Ipsum is simply dummy text of the</h4>
<h4>printing and typesetting industry</h4>
<span>Lorem Ipsum has been the industry's standard dummy</span><br>
<span>text ever since the 1500s, when an unknown printer took</span><br>
<span>a gallery of type and scrambled it to make a type</span><br>
<span>specimen book.</span><br>
<div class="explore-btn-wrapper">
<button class="explore">EXPLORE</button>
</div>
</div>
<div class="about-img-wrapper">
<img src="images/b3.jpg">
<div class="triangle-left"></div>
</div>
<div class="about-img-des-wrapper">
<h3>Play Ground</h3>
<h4>Lorem Ipsum is simply dummy text of the</h4>
<h4>printing and typesetting industry</h4>
<span>Lorem Ipsum has been the industry's standard dummy</span><br>
<span>text ever since the 1500s, when an unknown printer took</span><br>
<span>a gallery of type and scrambled it to make a type</span><br>
<span>specimen book.</span><br>
<div class="explore-btn-wrapper">
<button class="explore">EXPLORE</button>
</div>
</div>
<div class="about-img-wrapper">
<img src="images/b4.jpg">
<div class="triangle-left"></div>
</div>
</td>
</tr>
</table>
</div>
- 参与学习 人
- 提交作业 11218 份
- 解答问题 36712 个
从一个不会编程的小白到一个老司机是需要过程的,首先得入门,学习基础知识,然后才能进阶,最后再到精通,本专题是你走进前端世界的不二选择!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星