Hello
I use CSS code to position images in a Web page, but have now decided to use an external CSS style sheet so that I can reproduce them on each of my five pages.
The images appear fine on my main page, though they look slightly right of centre instead of being centered.
Can I confirm that the CSS code I have is fine and that I simply need to reference the external CSS style sheet in all of my five Web pages, and use the following in the external style sheet to reproduce the images on each page?
Code:
<body>
<div style="position: absolute; left: 500px; top: 600px;">
<img src="twitter.jpg" alt="Twitter" height="44" width="39" border="0" />
</div>
<div style="position: absolute; left: 560px; top: 600px;">
<img src="digg-button.jpg" alt="Digg" height="44" width="44" border="0" />
</div>
<div style="position: absolute; left: 620px; top: 600px;">
<img src="delicious1.jpg" alt="Delicious" height="44" width="44" border="0" />
</div>
<div style="position: absolute; left: 680px; top: 600px;">
<img src="face1.jpg" alt="Facebook" height="44" width="44" border="0" />
</div>
<div style="position: absolute; left: 740px; top: 600px;">
<img src="email-icon.jpg" alt="Email us!" height="44" width="43" border="0" />
</div>
</body>
Thanks for any advice.