为什么没有正确的填充在td为黑莓手机 [英] why there is no right padding in td for blackberry phone
问题描述
我试图将 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屋!