Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Newbie question: typing in table cells w/ bkgrnds


  • Please log in to reply

#1
heliotropic

heliotropic

    New Member

  • Member
  • Pip
  • 2 posts
Is it possible to have text in a table cell that already has an image in it? Or is the only way to have an image behind a specific area of text with CSS?

thanks
  • 0

Advertisements


#2
lilhawk2892

lilhawk2892

    Member

  • Member
  • PipPipPip
  • 128 posts
ive seen it in template nearly all the time download one and take am look
  • 0

#3
katkat92

katkat92

    Member

  • Member
  • PipPipPip
  • 165 posts
You can add text over an image using a table. For example:

<TABLE BORDER="0" cellpadding="0" CELLSPACING="0">
<TR>

<TD WIDTH="221" HEIGHT="300" BACKGROUND="image.jpg" VALIGN="bottom">

<FONT SIZE="+1" COLOR="yellow">Text over image here</FONT></TD>

</TR>
</TABLE>

The above would add the image, with the text in yellow over the bottom of the image.

Is this what you were looking to do?
  • 0

#4
Tyger

Tyger

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,896 posts
You can do something even more interesting, you can use one image, say a .jpeg as a background and use a transparent .gif as the cell image, making the body of the .gif transparent and the text visible. You can get very stylistic with the .gif. If you use javascript you can make the text appear on mouseover.

Edited by Tyger, 25 August 2005 - 03:41 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP