img标签是否具有CSS属性来选择页面的图像中心? [英] img tag have css propertise to select image center of page?
本文介绍了img标签是否具有CSS属性来选择页面的图像中心?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有4张图片,我想将它们设置在页面中心,我只想更改CSS代码?
ihave 4 picture i want to set them in center of my page i want to change just css codes ???
推荐答案
hi ..
您可以在div标签中设置所有图像,并在div中设置css.
div style ="text-align:center"
定义所有图像
/div
可以在div标签中添加尖括号.
请回复
hi..
You can set all images in a div tag and set css in div.
div style="text-align:center"
define all images
/div
add angle bracket in div tag ok.
please reply
这篇关于img标签是否具有CSS属性来选择页面的图像中心?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文