/    Sign up×
Community /Pin to ProfileBookmark

Table cell, is this possible question

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?

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@starrwriterApr 08.2003 — [i]Originally posted by Huggy [/i]

[B]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? [/B]
[/QUOTE]


<td background="filename.gif">
Copy linkTweet thisAlerts:
@HuggyauthorApr 08.2003 — if thats the only way, its not what I'm looking for but thanks for your input aways ?
Copy linkTweet thisAlerts:
@jdaviaApr 08.2003 — [i]Originally posted by Huggy [/i]

[B]if thats the only way, its not what I'm looking for but thanks for your input aways ? [/B][/QUOTE]

This is a no scroll background image code. I doubt very much if it can be used in tables.

[size=-6]

<script language="JavaScript1.2">

if (document.all)

document.body.style.cssText="background:white url(your.gif) no-repeat fixed center center"

</script>[/size]
Copy linkTweet thisAlerts:
@nkaisareApr 08.2003 — [i]Originally posted by jdavia [/i][/QUOTE]
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?
Copy linkTweet thisAlerts:
@jdaviaApr 09.2003 — [i]Originally posted by nkaisare [/i]

Any particular reason for using javascript?

The correct way of using javascript is

<script type="text/javascript">
[/QUOTE]

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.
Copy linkTweet thisAlerts:
@nkaisareApr 09.2003 — No, I was referring to the use of javascript over just <body style="background:white url(your.gif) no-repeat fixed center center">
Copy linkTweet thisAlerts:
@mascardrApr 10.2003 — 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 ?
×

Success!

Help @Huggy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...