March 8th, 2013, 09:31 AM
Join Date: Mar 2013
Time spent in forums: 28 m 25 sec
Reputation Power: 0
Help, Center a IMG in a div (dynamic image)
I have a problem to center a dynamic img into a div.
When i write "position: absolut;" for the image, the image center but isn't more dynamic.
When i delete the "position: absolut;" line, the image is dynamic but i can't center it, even with "margin: 0px auto 0px auto;"
i just try to learn css, but this makes my crazy,im siting for hours with trying and reading.
margin: 200px auto 0px auto;
border: 1px solid #000;
margin: 0px auto 0px auto;