+ 3

can image be aligned ? if yes then how

27th Apr 2017, 7:06 AM
Aadi Mehta
Aadi Mehta - avatar
4 odpowiedzi
27th Apr 2017, 7:31 AM
Yusuf Malikul Mulki
Yusuf Malikul Mulki - avatar
+ 18
Yes an image can be aligned but only using a certain number of property. For example by giving it an absolute or relative position with the "Position" property, then choose its position with respect to the right, left top or bottom. You can also center it in relation to its parent element. For example, you put your image in a div and apply the alignment to the Div since the img element does not support this property in HTML5.
27th Apr 2017, 7:39 AM
Jérémie Agossouvi
Jérémie Agossouvi - avatar
0
yes they can be you can use <center> and </center> tags to align them to center.
27th Apr 2017, 8:14 AM
Paavan Gupta
Paavan Gupta - avatar
0
you can do it with CSS or Bootstrap too
27th Apr 2017, 8:27 AM
Ioana Patrascanu
Ioana Patrascanu - avatar