0

How do you align an image?

20th Sep 2016, 9:01 AM
Colin Gbolie
Colin Gbolie - avatar
4 Respostas
0
simple. use align="right" or left where ever u want to place .
20th Sep 2016, 9:01 AM
Aniza Humayun
Aniza Humayun - avatar
0
Or... You can set it in CSS using the tag "img" in your class or ID. Example with a element in a ID: #myImages img { code goes here } Global example (all the images on the page will be affected by the code): img { code goes here }
20th Sep 2016, 6:11 PM
Scotti
Scotti - avatar
0
That's what I'm wondering. I want my image in the center of the web page but I can only align it to the left or right. How do I do it in the center?
23rd Sep 2016, 10:19 PM
Gman902
0
Set up margin: 0px auto; on the CSS rule for the image
23rd Sep 2016, 10:55 PM
Scotti
Scotti - avatar