March 8th, 2013, 09:31 AM
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;
March 8th, 2013, 02:43 PM
Hi there keen098,
and a warm welcome to these forums.
Try it like this...
~ the original bald headed old fart ~