所以我的问题是如何移除div周围的空白。当我在我的博客主页上创建文章时,它们都是不同的大小,因为我做的div大小应该是图像的大小- 。
html:
<div class="container">
<div class="post" style="width:150px; height:60px">post<p>I dont want the white space here</p></div>
<div class="post" style="
我正在使用Wordpress (Astra主题+孩子)来构建这个网站,这些属性在徽标(宽度和高度)中缺失,但我不知道如何添加这些属性。我试着在主题中看到"header.php“文件,但我对php一点也不熟悉。以下是header.php文件中的代码:
<?php
/**
* The header for Astra Theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content"&g