+ 3
Check this code out.Have been trying to put the second image to the center but instead it goes to the left. What should I do?
13 Réponses
+ 6
If you want like the above result then just do this
<table><tr><td>Birth Name</td><td>Finney<br>Osajere</td></tr></table>
+ 6
Hey buddy just inclose the image tag inside center tag.
I tried this on your code and it was working fine
Something like this
<center><img src="xyz"/></center>
+ 5
You mean something like this?
Birth name_____Finney
Osajere
+ 4
To create space between any two things in html, use  
if 1 times you write   it creates one space and for 2 space write it 2 times like this,    and so on
+ 2
Get rid of align="center" in the <img/> element, and surround it with a <div align="center"> instead. E.g.
<div align="center">
<img src="image.png" alt="image"/>
</div>
+ 2
Thanks Rowsej and Prabhat Ranjan. The problem has been corrected.
+ 2
https://code.sololearn.com/WHyxwc91SVoM/?ref=app
I have modified your code . I guess this is what you wanted it to look like
+ 1
Another problem am have is to create space from
Birth name_____Finney Osajere
Born March_____06,2002
........
What should I do?
0
Thanks
0
Another problem is that am trying to put Osajere directly under Finney starting from F
How will I go about it
0
Yes
0
Okk. Thanks
0
Input the image tag inside the centre tag. Like this
<center> <img src="img/.jpg" style="width: 50%; height: 50%"> </center>