+ 6
How to place image in the center, using align="center"?
6 odpowiedzi
+ 21
<div align = "center">
<img src = "path>
</div>
+ 2
with css, with your img inside the <figure>
figure {
margin:auto;
width:px; // or percentages
}
it makes your picture have a margin to the left and the right. don't forget to indicate the width of the figure because it automatically occupy all thé width!
+ 2
@Alexandra It won't work
+ 1
It isn't necessary to put an image into <div>. You can just write <img src="..." align="center">
+ 1
@Илья oops, sorry
0
@Alexandra No problem ;)