Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1694 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

I cant believe im asking this...

Thread title: I cant believe im asking this...
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
09-05-2005, 10:30 AM
#1
t0m is offline t0m
Status: Request a custom title
Join date: Jan 2005
Location: West Sussex, England
Expertise:
Software:
 
Posts: 2,829
iTrader: 21 / 100%
 

t0m is on a distinguished road

  Old  I cant believe im asking this...

Ok here is an entirely stupid question...

If you have a table full, with an image, how do you then place text on top of the image??

Examples of coding or a tut would be good...

Damn im get stupid as i get older

09-05-2005, 11:09 AM
#2
echoepidemic is offline echoepidemic
echoepidemic's Avatar
Status: Graphic Designer
Join date: Apr 2005
Location: Vancouver
Expertise:
Software:
 
Posts: 2,057
iTrader: 0 / 0%
 

echoepidemic is on a distinguished road

Send a message via AIM to echoepidemic Send a message via MSN to echoepidemic

  Old

Make the image into the background of the table...

edit:

<td background="images/index.gif"

09-05-2005, 01:07 PM
#3
Yang is offline Yang
Yang's Avatar
Status: Member
Join date: Jun 2005
Location:
Expertise:
Software:
 
Posts: 460
iTrader: 0 / 0%
 

Yang is on a distinguished road

Send a message via Yahoo to Yang

  Old

More accurately it's..

Code:
<td background="images/image.gif">THIS TEXT WILL APPEAR ABOVE THE image.gif</td>
:P

09-05-2005, 01:49 PM
#4
echoepidemic is offline echoepidemic
echoepidemic's Avatar
Status: Graphic Designer
Join date: Apr 2005
Location: Vancouver
Expertise:
Software:
 
Posts: 2,057
iTrader: 0 / 0%
 

echoepidemic is on a distinguished road

Send a message via AIM to echoepidemic Send a message via MSN to echoepidemic

  Old

Originally Posted by dumbc0der
More accurately it's..

Code:
<td background="images/image.gif">THIS TEXT WILL APPEAR ABOVE THE image.gif</td>
:P
Accuracy is for Rocket Science.

09-05-2005, 02:17 PM
#5
techo is offline techo
Status: Lurker
Join date: Jun 2005
Location:
Expertise:
Software:
 
Posts: 1,473
iTrader: 0 / 0%
 

techo is on a distinguished road

  Old

Or make a table in a table... but that would just be confusing. So ill be quiet now.

09-05-2005, 02:41 PM
#6
sketchie is offline sketchie
sketchie's Avatar
Status: Senior Member
Join date: Jul 2005
Location:
Expertise:
Software:
 
Posts: 835
iTrader: 1 / 100%
 

sketchie is on a distinguished road

  Old

Personally I'd use CSS,

Code:
background-image: url(http://image.gif);
As using background="" isn't xhtml valid is it?

09-05-2005, 02:42 PM
#7
seen.to is offline seen.to
seen.to's Avatar
Status: unusual suspect ™
Join date: Feb 2005
Location: Lancaster, PA from London UK
Expertise:
Software:
 
Posts: 1,814
iTrader: 0 / 0%
 

seen.to is on a distinguished road

  Old

Use CSS... and ditch tables! But for this purpose here's how to do it with CSS & a table...

Code:
HTML:
<table id="whatever">
   <tr>
      <td>Your text goes here</td>
    </tr>
</table>

CSS:

#whatever {
     width: 700px; /*apply your own sizes of course*/
     height: 500px; /*apply your own sizes of course*/
     background: #fff url("images/image.gif") repeat;  
     }
This presumes that you want your background image to repeat... you could also use:

no-repeat (self-explanatory)
repeat-x (repeat horizontally)
repeat-y (repeat vertically).

09-05-2005, 04:53 PM
#8
jamesyfx is offline jamesyfx
Status: Member
Join date: Jan 2005
Location: Manchester
Expertise: Design
Software: TextEdit
 
Posts: 1,009
iTrader: 0 / 0%
 

jamesyfx is on a distinguished road

Send a message via MSN to jamesyfx

  Old

Although the colour might seem unecessary, some people might have images disabled.. .. or slow connections.

.. So its best to find a solid colour that matches the background closely. >.>

09-06-2005, 09:47 AM
#9
t0m is offline t0m
Status: Request a custom title
Join date: Jan 2005
Location: West Sussex, England
Expertise:
Software:
 
Posts: 2,829
iTrader: 21 / 100%
 

t0m is on a distinguished road

  Old

Cheers guys for the help, should sort me out nicely

09-10-2005, 09:51 PM
#10
mscwd is offline mscwd
Status: Junior Member
Join date: Sep 2005
Location:
Expertise:
Software:
 
Posts: 48
iTrader: 0 / 0%
 

mscwd is on a distinguished road

  Old

i'd go the css route because if the cell with the background image became larger than the image it would repeat. With css you are more in control.

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed