Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Positioning Text Over A Background Image

Status
Not open for further replies.

revelation4u

Technical User
Sep 11, 2002
2
US
Hello,
I have been banging my head trying to figure out why I can't center the words "HOME" over the background-image "home_butt.gif" for the past 2 hrs on my site. Could you please take a look at the page (left frame) and see what you think Is causing problems? Thanks alot!!
It displays differently in IE 6 and NS 7. Both not centered.

 
<table style=&quot;background-image:url('home_butt.gif');width:100px;height:100px;&quot;>
<tr>
<td valign=&quot;center&quot; align=&quot;center&quot;>Home</td>
</tr>
</table>

just change width:100px;height:100px; to the size of you image.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top