Hi.
I've put together a website for a friend's business, it displays fine on IE but when I looked at it on Safari an image, Bootcamp!, in the left column was left-aligned and not centered (as displayed on IE). I am a begginer to HTML and can't figure out how to resolve this. I've tried align="center" in the anchor tag and everywhere else, and text-align: center in the css, but to no avail. If someone could help it would be much appreciated! It's annoying the hell out of me and I can't find a solution online.
The html code is:
<td class="leftcolumn"><a href="contact.html"><img src="images/bootcamp.gif" width="130" height="179" border="0" style="margin-top: 40px;"></a>
The css is:
.leftcolumn {
background-color:#9e9e9e;
text-align:center;
}
THX!!
I've put together a website for a friend's business, it displays fine on IE but when I looked at it on Safari an image, Bootcamp!, in the left column was left-aligned and not centered (as displayed on IE). I am a begginer to HTML and can't figure out how to resolve this. I've tried align="center" in the anchor tag and everywhere else, and text-align: center in the css, but to no avail. If someone could help it would be much appreciated! It's annoying the hell out of me and I can't find a solution online.
The html code is:
<td class="leftcolumn"><a href="contact.html"><img src="images/bootcamp.gif" width="130" height="179" border="0" style="margin-top: 40px;"></a>
The css is:
.leftcolumn {
background-color:#9e9e9e;
text-align:center;
}
THX!!