Fri, 2016-02-26 03:46
Hello
and I am trying to push down those two images.
I am using this in my tags:
/*CSS for the two images*/ .images { padding: 10px; text-align: center; // Will center the images contained in the div margin-top:260px; margin-left:-250px; }
and this is the HTML:
<!--Two images--> <div class="images"> <img src="images/domestic1.gif" width="226px" height="225px" alt="domestic1" /> <img src="images/domestic2.jpg" width="225px" height="225px" alt="domestic2" /> </div>
It doesn't seem to matter how much I change that CSS margin value: margin-top:260px; the images won't budge. I will replace/make smaller the two images, but the problem will still exist.
Something is preventing them from moving, isn't it?
Thanks for any advice.
Fri, 2016-02-26 03:50
#1
Link missing in the question I have just asked
Web page is here: http://www.tomorrowswomenwirral.org/Domestic_Violence.asp
Fri, 2016-02-26 04:47
#2
Worked for me
Your link page doesn't have the top margin. When I added it, the image block moved as expected.
.images { margin-left: -250px; margin-top: 250px; padding: 10px; text-align: center; }
cheers,
gary
Fri, 2016-02-26 05:45
#3
Thanks, Gary
That's looking a bit better now.
Thanks for that, Gary