为什么没有正确的填充在td为黑莓手机 [英] why there is no right padding in td for blackberry phone

查看:115
本文介绍了为什么没有正确的填充在td为黑莓手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将 padding:3px 应用于 td ,但它不适用于右侧 .net / yV8bh / 2 /rel =nofollow noreferrer> DEMO 我尝试了



chrome并查看我的屏幕截图。



截图查看图像的右侧,未应用填充)








当我使用inline-block图像时,它在浏览器而不是黑莓手机中工作

解决方案

只需使用 display:block -width:100%为css中的图像。希望这将为你工作。


I am trying to apply padding:3px to a td but it is not applying to the right side of the td when you re-size the window

Here is the DEMO I tried

Check this in chrome and have a look at my screenshot.

Screenshot ( look at the right side of the image, there is no padding applied)


When I use inline-block to image it works in browser but not in blackberry phone

解决方案

Just use display: block instead of your max-width: 100% for your image in css. Hope that will work for you.

这篇关于为什么没有正确的填充在td为黑莓手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆