Quetzal
03-29-2012, 01:48 PM
Hello
I have a 'test' site here:
http://www.proofreading4students.com/socialNet.html
that shows five images aligned horizontally and centered at the bottom of the page.
The HTML is as follows:
<div id="wrapper">
</div>
<div class="img">
<a target="_blank" href="newWindow.html"><img src="twitter.jpg" alt="Twitter" height="44" width="39"></a>
<a target="_blank" href="newWindow1.html"><img src="digg-button.jpg" alt="Digg" height="44" width="44"></a>
<a target="_blank" href="newWindow2.html"><img src="delicious1.jpg" alt="Delicious" height="44" width="44"></a>
<a target="_blank" href="newWindows3.html"><img src="face1.jpg" alt="Facebook" height="44" width="44"></a>
<a target="_blank" href="newWindows4.html"><img src="email-icon.jpg" alt="Email us!" height="44" width="43"></a>
</div>
and the external CSS looks like this:
html,body{
height:100%;
}
#wrapper{margin: 0 auto; height:100%; position:relative;margin-bottom: -50px;}
.img {
width:240px;
margin:0 auto;
}
a img {
border:none;
}
I would like to space the images out a little (but keep them horizontally aligned and centered at the bottom of the Web page).
How would I do that, please?
Thanks
I have a 'test' site here:
http://www.proofreading4students.com/socialNet.html
that shows five images aligned horizontally and centered at the bottom of the page.
The HTML is as follows:
<div id="wrapper">
</div>
<div class="img">
<a target="_blank" href="newWindow.html"><img src="twitter.jpg" alt="Twitter" height="44" width="39"></a>
<a target="_blank" href="newWindow1.html"><img src="digg-button.jpg" alt="Digg" height="44" width="44"></a>
<a target="_blank" href="newWindow2.html"><img src="delicious1.jpg" alt="Delicious" height="44" width="44"></a>
<a target="_blank" href="newWindows3.html"><img src="face1.jpg" alt="Facebook" height="44" width="44"></a>
<a target="_blank" href="newWindows4.html"><img src="email-icon.jpg" alt="Email us!" height="44" width="43"></a>
</div>
and the external CSS looks like this:
html,body{
height:100%;
}
#wrapper{margin: 0 auto; height:100%; position:relative;margin-bottom: -50px;}
.img {
width:240px;
margin:0 auto;
}
a img {
border:none;
}
I would like to space the images out a little (but keep them horizontally aligned and centered at the bottom of the Web page).
How would I do that, please?
Thanks