如何在html中更改背景图像位置 [英] how do change backgroud image posation in html

查看:144
本文介绍了如何在html中更改背景图像位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有



i有这个标签,在列表左侧显示箭头:



< pre lang =CSS> background: url(../ images / arrow.png) no-repeat 0 5px;





i想在列表右侧显示箭头



我该怎么办?



非常感谢

解决方案

你可以尝试



添加

浮动:正确

保证金:

background-position-x:

background-position-x:

padding:


检查这个

只需阅读本文即可获得想法 [ ^ ]


hi all

i have this tag that show arrow in the left of list :

background: url(../images/arrow.png) no-repeat 0 5px;



i want show arrow in right of list

how do i this ?

thanks a lot

解决方案

you can try

adding
float: right
margin:
background-position-x:
background-position-x:
padding:


check this
just read this you will get the idea[^]


这篇关于如何在html中更改背景图像位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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