+ 1

i am not able to align a image in center plz help

but right and left work properly

3rd Jul 2016, 9:53 AM
RAHUL VERMA
RAHUL VERMA - avatar
6 odpowiedzi
+ 2
<img src="#" style="display: block; align: center">
3rd Jul 2016, 11:09 AM
ZinC
ZinC - avatar
+ 2
@Felix True. I'm just used to XHTML syntax. I've began to use <br> and <hr> but since <img> isn't an empty element, the habit is hard to get rid of.
3rd Jul 2016, 3:49 PM
ZinC
ZinC - avatar
+ 2
just check and make sure everything is typed in right and u have all signs
5th Jul 2016, 12:45 PM
jack antonin
jack antonin - avatar
+ 1
Aber das mit dem "/" vor dem ">" ist nur für XHTML gedacht,und ist in HTML 5 nicht zu nutzen
3rd Jul 2016, 3:38 PM
Felix Fischl
Felix Fischl - avatar
+ 1
the easiest tag for arranging any content to the center<center><IMG SRC=xxx.jpg></center>
14th Jul 2016, 1:54 PM
Saud Qureshi
Saud Qureshi - avatar
0
<p align="center">img</p> or... <center>img</center>
3rd Jul 2016, 11:01 AM
Kanort
Kanort - avatar