画像の位置を中央にしたいcenter
タグとテキストの配置を使用しましたが、機能しません。助けてください
CSS:
#indtrans
{
position :fixed;
display:block;
background-color : none;
top: 2px;
text-align:center;
padding-left:130px;
}
html:
<center><div id="indtrans"><img src="indeximg.png"></img></div></center>