html - 删除第二个框和第三个框之间的空间

标签 html css

在下图中,你可以看到3个盒子

enter image description here

第二个盒子和第三个盒子之间有一些空白,请帮我删除那个空间。

@media only screen and (min-width: 1224px)
.qty-ct2 {
    float: left;
    height: auto;
    line-height: normal;
    margin: 0 !important;
    padding: 0 !important;
    width: 34px;
}

html

<th rowspan="<?php echo $mergedCells; ?>" class="a-center" id ="cart2">
                        <?php echo $this->__('Qty') ?>

最佳答案

**已编辑**只需添加

.increase {
         border-left: 0px solid #ccc !important;
         margin: 0px 0px !important;

 }

!important 如果 css 由于现有代码而未应用。

关于html - 删除第二个框和第三个框之间的空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37851416/

相关文章:

css - 在声明 html 5 DTD 时,一些 css 样式不计算任何浏览器

css - React-native CSS 'last-child' 属性

javascript - 使用 Jquery 滑动菜单时媒体查询不起作用

javascript - Vue - 使用类样式绑定(bind)的组件 CSS 类未显示在应用程序中

javascript - jquery/javascript 随机选择选项

html - 如何为 IE 8 添加 CSS 背景图片?

css - 单选按钮看起来像按钮

html - 如何更改 Foundation 中的模态链接颜色?

html - 无论图像数量有多少,图像都会自动填充容器 div

从服务器加载 PHP 灯箱图像