cant center image

O

old.mike15

Guest
I cant get my logo centered and everything seems to be ok. You can view the page im working on at www.masterfuldesign.com/main.htm

The html code for that area is pasted below:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" bgcolor="dimgray" height="19" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="109" valign="middle" align="center" bgcolor="dimgray">
<div align="center"></div>
<table width="366" border="1" bgcolor="#272a2f" bordercolor="#000000" align="center">
<tr bgcolor="#444444" bordercolor="#444444">
<td height="8" width="70" bgcolor="#272a2f" bordercolor="#272a2f" align="center" valign="middle">
<div align="center">
</div>
</td>
</tr>
</table>
</td>

I cant figure out why the logo will not center.
 
O

old.Reverend Flatus

Guest
I think it's because you have specified the width of the containing cell to be smaller than the width of the image.
Change this
<td height="8" width="70" bgcolor="#272a2f" bordercolor="#272a2f" align="center" valign="middle"><div align="center">
</div>
</td>
To this
<td height="8" bgcolor="#272a2f" bordercolor="#272a2f" align="center" valign="middle"><div align="center">
</div>
</td>
And you probably don't need that DIV in there either
<td height="8" bgcolor="#272a2f" bordercolor="#272a2f" align="center" valign="middle

</td>
 
O

old.Reverend Flatus

Guest
'Ere, I just noticed. That is for your website right, and one of your services is web-site design! I demand my fee for the above answer!
 
O

old.mike15

Guest
thanks

thanks for your help and I get a little confused when it comes to the html part of tables.

thanks again:D
 
O

old.Reverend Flatus

Guest
I take any credit cards, but cash is preferred.
 
O

old.Toban

Guest
[*center]thing u wana center without *[*/center]

:rolleyes:
 
O

old.adaz

Guest
You must have looked that up before you posted!:puke:
 
S

ShockingAlberto

Guest
rofl, he's using tables anyway so what he's done "align='center'" is a better bet.
 

Users who are viewing this thread

Top Bottom