Click to See Complete Forum and Search --> : Table cell, is this possible question


Huggy
04-07-2003, 11:33 PM
Well your the ones to ask.

I have a number of tables on my page, which is not active on the net so I'm not able to show you, at this time but what I need is a static background in one of the main cells can this be done?

starrwriter
04-07-2003, 11:42 PM
Originally posted by Huggy
Well your the ones to ask.

I have a number of tables on my page, which is not active on the net so I'm not able to show you, at this time but what I need is a static background in one of the main cells can this be done?

<td background="filename.gif">

Huggy
04-08-2003, 12:03 AM
if thats the only way, its not what I'm looking for but thanks for your input aways :)

jdavia
04-08-2003, 01:05 AM
Originally posted by Huggy
if thats the only way, its not what I'm looking for but thanks for your input aways :)
This is a no scroll background image code. I doubt very much if it can be used in tables.


<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="background:white url(your.gif) no-repeat fixed center center"
</script>

nkaisare
04-08-2003, 01:34 AM
Originally posted by jdavia
Any particular reason for using javascript?

The correct way of using javascript is
<script type="text/javascript">

Huggy, what do you mean by static background for a table cell?

jdavia
04-08-2003, 11:54 PM
Originally posted by nkaisare
Any particular reason for using javascript?
The correct way of using javascript is
<script type="text/javascript">

It was an old script I had on file and grabbed, language was in then.

I thought Huggy meant a background image that didn't scroll when the page was scrolled.

nkaisare
04-09-2003, 08:55 AM
No, I was referring to the use of javascript over just <body style="background:white url(your.gif) no-repeat fixed center center">

mascardr
04-10-2003, 07:04 PM
Huggy...I have the same problem. I use tables in my web page ( not experienced enough to use frames or CSS yet). I use a .gif file as the background in one cell. But I don't want it to repeat.
I have two cells side by side. If the cell that doesn't have the gif as the background extends because of text being put in, so does the cell with the gif file as the background. I want the gif to stay static even if the cell lengthens. Am I making sense and am I doing it the hard way ? I open to any suggestions. Is this what you are experiencing Huggy ?