gpt4 book ai didi

html - Wordpress 二十三主题的基本图像网格问题

转载 作者:太空宇宙 更新时间:2023-11-03 18:06:48 24 4
gpt4 key购买 nike

我正在尝试使用 2013 主题将 wordpress 网站上的一些图像网格化。

这是我正在使用的代码

<style> 

#fontContainer {
font-size: 0px;
width: 958px;
margin: 0 auto;
padding: 2px;
margin-top: 30px;
}

#fontContainer {
font-size: 0px;
width: auto;
margin: auto;
padding: 2px;

}
#frontContainer a {
margin: 6px;
display: inline-block;
height: 150px;
width: 150px;
float: left;
}

#frontContainer img {
height: 100%;
width: 100%;
border: 4px solid black;
border-radius: 10px;
}
</style>

<div id='frontContainer'>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/BowFrontDesk_pacificexpresscopy_zps7e8dc151.jpg'/></a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/corner_workstationcopy_zps1ff2c6b7.jpg'/> </a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/Corner_work_station_zps644dc92c.jpg'/> </a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/screen_4person_workstation_zps73078288.jpg'/></a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/Counter_reception_01_zps9b4c1fbe.jpg'/> </a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/home_office_desk_zps5a5737d9.jpg'/> </a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/chair_mesh_am100_zps582ba090.jpg'/> </a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/tamboor_cupboard_zps0e8c0f6c.jpg'/></a>
<a href='https://www.pacificexpress.com.au/shop'><img src='http://i105.photobucket.com/albums/m215/furnxfurniture/Photobucket%20Desktop%20-%20Jamess%20MacBook%20Air/Furnx%20Images/Front%20Page%20Images/Screen_zps64d2ea85.jpg'/> </a>
</div>

它应该是相当直截了当的,但在 WP 网站上,第一行图像正在向下移动。我不知道为什么或如何解决它。

网站是 www.pacificexpress.com.au

如果有人能提供帮助,我们将不胜感激。

詹姆斯

最佳答案

你没看错,你只是在你的 css 选择器中有一个拼写错误:

#fontContainer{

}

应该是

#frontContainer{

}

注意“r”

关于html - Wordpress 二十三主题的基本图像网格问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24482921/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com