Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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