Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > LEIA Archives > Web Site Help > Tables

Notices

 
 
Thread Tools Display Modes
  #1  
Old 02-02-2007, 05:20 PM
illmatic illmatic is offline
n00bzilla
 
Join Date: Feb 2007
Posts: 19
illmatic is on a distinguished road
table/css background not showing.

I'm having difficulty getting a background to show up in my table. I'm using an external style sheet with the following coding:

body { background-color:#cccccc; background-image:url(/orange/BACK4.png);
background-repeat: repeat-x; }


table { width:704px; height:2000px; position:absolute; top:0px;
background-image:url(/orange/TBK.png);
background-repeat:repeat-y;
background-attachment:scroll;
background-color:white; }


Now, the one in the body tag works just fine, but for some reason it won't load the image bckgrd in the table.. The code that I used for the table in the other page is simple:


<head>
<link rel="stylesheet" type="text/css"
href="orange.css" />
</head>

<body>



<table>
<tr>
<td colspan="2" style="background-image:url(/orange/TBK.png)">
<img src="/orange/SPACER.png">
</td></tr>
</table>


Is there anything wrong that I've done? If not, any suggestions how I can still get the same look by using div layers?
Sponsored Links
  #2  
Old 02-02-2007, 05:43 PM
J to the izzosh J to the izzosh is offline
404
 
Join Date: Feb 2006
Posts: 1,500
J to the izzosh has a spectacular auraJ to the izzosh has a spectacular aura
The only thing "wrong" that I noticed with your source (assuming that it's somewhat incomplete) is that you've specified a column span of two without actually having two columns, but that could be due to the incompleteness and I'm not sure that it would prevent the display of a background image.

Is it possible that you could provide a link to the page so we could see it in situ?
  #3  
Old 02-02-2007, 06:03 PM
illmatic illmatic is offline
n00bzilla
 
Join Date: Feb 2007
Posts: 19
illmatic is on a distinguished road
Yeah, I haven't completed the coding just yet. I have a billion images to upload & just wanted to be sure things were looking okay before I continued.

Here is a link:

http://u-chain.org/orange/orange.html
  #4  
Old 02-02-2007, 06:27 PM
J to the izzosh J to the izzosh is offline
404
 
Join Date: Feb 2006
Posts: 1,500
J to the izzosh has a spectacular auraJ to the izzosh has a spectacular aura
I dunno, man. I poked around with it for a bit, correcting the HTML, double checking the CSS... didn't come up with much. All I can tell you that "/orange/TBK.png" doesn't exist or is a solid white image. Remember that because of the absolute path of the URI, the image must be located at http://u-chain.org/orange/TBK.png, and is case-sensitive. I only get a 403 when I visit that, so I can't tell if it's there or not, but when I replaced the background image with another image that I knew would work, it did.

In short: double check your URI, mate.
  #5  
Old 02-02-2007, 06:33 PM
illmatic illmatic is offline
n00bzilla
 
Join Date: Feb 2007
Posts: 19
illmatic is on a distinguished road
It's a dotted border image.. I tried to check that too and it gave me that same error. The url is correct, but I'm wondering do I have to change permissions on the file folder and CHMOD is to 755 or something of that nature?
  #6  
Old 02-02-2007, 06:41 PM
J to the izzosh J to the izzosh is offline
404
 
Join Date: Feb 2006
Posts: 1,500
J to the izzosh has a spectacular auraJ to the izzosh has a spectacular aura
The 403 error on images usually pops up when remote linking is blocked through the server configuration or .htaccess files. I don't think that this is the case or that it's to do with the folder permissions because the link, http://u-chain.org/orange/layout.png, works fine.

Is the capitalization the same in the image name? "TBK.png"?
  #7  
Old 02-02-2007, 07:10 PM
illmatic illmatic is offline
n00bzilla
 
Join Date: Feb 2007
Posts: 19
illmatic is on a distinguished road
the capitalization is fine.. but i do have the option on that prevents hotlinking. so is it best to disable that?
  #8  
Old 02-02-2007, 08:21 PM
J to the izzosh J to the izzosh is offline
404
 
Join Date: Feb 2006
Posts: 1,500
J to the izzosh has a spectacular auraJ to the izzosh has a spectacular aura
It shouldn't make a difference to your own domain, and it doesn't seem to be working very well for PNG images as I can access both your header image and the body's background, but it's worth a shot.
  #9  
Old 03-22-2007, 06:38 PM
coffeecup coffeecup is offline
n00bzilla
 
Join Date: Feb 2007
Location: NV. - just outside of Las Vega
Posts: 13
coffeecup is on a distinguished road
Quote:
All I can tell you that "/orange/TBK.png" doesn't exist or is a solid white image. Remember that because of the absolute path of the URI, the image must be located at http://u-chain.org/orange/TBK.png, and is case-sensitive.
J to the izzosh: Try 'TBCK.png' instead of 'TBK.png'. (orange/TBCK.png)
I miss things like that too when I've been staring at the monitor too long.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background not showing xcherryxzoex HTML Help 4 02-18-2006 10:12 AM
Background not showing up... Peophin-chan CSS 7 01-08-2006 09:43 PM
Background not showing properly in Firefox unique_name24601 Neopets 1 10-23-2005 09:18 PM
HTML background image not showing (a bit of CSS, too) Neurologist HTML Help 3 03-18-2005 11:22 PM
Background not showing >.< ohioisforlovers Xanga 1 12-24-2004 04:49 AM


All times are GMT. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.