+ 1

How do i align images?

1st Jan 2017, 6:18 PM
Davi Sodre
Davi Sodre - avatar
3 ответов
+ 1
Create a DIV! example: <div class="central"> <img src="URL" alt="..."> </div> and write in the style (.CSS) .central{ text-align:center;}
8th Jan 2017, 7:10 PM
Lorenzo Bianciardi
Lorenzo Bianciardi - avatar
0
you can dive for in-line styling to align an image <img src="URL" alt="..." text-align="left"> Though Lorenzo's CSS Div usage is a better practice for clean coding.
9th Feb 2017, 1:48 PM
Atiq 69
Atiq 69 - avatar