How can I choose the image's align?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I choose the image's align??

How can I move the image(e.g. to the center)

29th Aug 2016, 7:49 PM
Ahmad Badghaish
Ahmad Badghaish - avatar
6 Answers
+ 2
You can wrap your image tag in a paragrah tag and center that. for example... <P ALIGN="center"> <IMG SRC="image here"/> </P>
30th Aug 2016, 2:19 AM
Kris
0
on your css style sheet the code is text-align: where you want to put it ; sampe: #navbarlogo { text-align: center; } hope it works for you.
30th Aug 2016, 12:25 AM
john jamen
john jamen - avatar
0
use horizontal align
11th Sep 2016, 4:04 PM
Ahmed Kamal
Ahmed Kamal - avatar
0
@john jamen thanks for your help, but I actually don't know how to use CSS.
1st Oct 2016, 9:10 AM
Ahmad Badghaish
Ahmad Badghaish - avatar
0
@ahmed kamal please go deeper.
1st Oct 2016, 9:10 AM
Ahmad Badghaish
Ahmad Badghaish - avatar
0
thanks @kris.... that was helpful it actually worked .... and you guys could try this too : <h1 align="center"> <img src="image url.image type"> </h1>
1st Oct 2016, 9:16 AM
Ahmad Badghaish
Ahmad Badghaish - avatar