PDA

View Full Version : Table backgrounds not showing



Maverick
November 26th, 2001, 17:56
I'm making a few pages using tables and sometimes when I test the pages in IE the table background gifs don't show up and then in other pages which use an identical layout they show up fine.

The pages are shtml and are in a folder 1 step above the root and I'm using document relative links i.e. ../images/tab-bg.gif

Any ideas? :confused2:

meow
November 26th, 2001, 18:01
Yes, you are doing something wrong. :p
Hard to say without seeing the page. Maybe the hyphen. I believe that is an illegal character in file names.

Cyber
November 26th, 2001, 18:16
hyphen?? its not that, maybe it sohlud be 1dot?

skeptical
November 27th, 2001, 04:14
I'm having sort of the same problem. On my website when I view it at home I can see background in my table. The image is a little light gray pic. But when I go view it at school, it doesnt show up. It's just a black background.

Go visit my site: http://www.elusive-mind.com and tell me if you see the background in the table or not.

The img url for it is http://www.elusive-mind.com/vision/tab.gif

meow
November 27th, 2001, 04:43
The whole background is black and tab.gif is a 322*383 pixel image????
<<ADD>>
I meant to say the image is black too.

Maverick
November 27th, 2001, 08:34
I can see the table background but it doesn't appear to be the same one as your second link.

To be honest the background gif is almost indistinguishable from plain black so I wouldn't worry about it.

Oh I worked out how to fix my problem btw. You wouldn't expect this to work but it does. Here's the original code...

<tr bordercolor="#000000" bgcolor="635B6E" background="../images/bg.gif"><td height="2" colspan="4">

and here's what I had to change it to, to get it to work...

<tr bordercolor="#000000" bgcolor="635B6E">
<td height="2" colspan="4" background="../images/aquaswirl.gif">

Weird, eh!

I thought maybe the background colour which appears before the image loads could be interfering with the background image but removing the colour had no effect.

Oh well, as long as it works I'm happy. :)

Hyphens aren't a problem, I use those throughout my site for shtml filenames etc etc

Thanks for the replies everyone.