0
Image Alignment tag not working (html)
I placed a bit of code for html titled "Image Problems". It would be a great help if anyone could take a look at it and see where I've gone wrong. The bottom image is refusing to cooperate and sometimes glitches out when I run it. Really not sure what's going on. -Thanks
3 odpowiedzi
0
Post the code in the question
0
<html>
<head>
<title>"Image Placement""</title>
</head>
<body>
<h2>Image Placement</h2>
<div style="background-color:blue;color:white ;padding:10px;"
/>
</div>
<br />
<div style="background-color:orange ;padding:10px;"/>
<img src="http://www.sololearn.com/images/tree.jpg"
height="150px" width="150px"
border="1px" alt="" align="left"/>
<img src="http://www.sololearn.com/images/tree.jpg"
height="150px" width="150px"
border="3px" alt="" align="right"/>
<br />
<img src="http://www.sololearn.com/images/tree.jpg"
height="30px" width="30px"
border="2px" alt="" align="centre"/>
</div>
</body>
</html>
0
The last image tag won't align to the centre and seems to stick to the first image tag. Also the line break function isn't working for images. I'm not sure how to fix it