+ 2
Help me moving a pic to the center location
8 ответов
+ 4
<img> is an inline-block element, meaning it could be horizontally centered as text-content: set 'text-align:center' on its parent... and check my code to choose wich vertical centering is better suited to your case (if you choose 'flex', horizontal centering should be also done through flex properties ;))
+ 3
(assuming you know how horizontal centering ^^)
+ 2
<IMG src=abc.jpg width=x height=y align = center>
+ 2
use align=center
0
I don't get it....
0
got it I just used <center> picture </center>....
Thanks
0
just use in your css
img {
display: block;
}