473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Displaying Background Image in Table Cell

Hi,

i am hoping someone out there can help me with this, b/c i don't really know what is going on. i am working to put a background image in a cell of my table. i am using dreamweaver mx. the css code is as follows;

Expand|Select|Wrap|Line Numbers
  1.  .featured_cells 
  2. {
  3.     background-image:url(Images/Front_Page/featured_cells.gif);
  4.     background: no-repeat bottom right;
  5.     font-family: Arial, Helvetica, sans-serif;
  6.     font-size: 15px;
  7.     font-style: oblique;
  8.     text-decoration: none;
  9.     font-weight: bold;
  10.     border-left-style: none;
  11. }
  12.  
The image renders perfectly in dreamweaver, but will not render live or in my test server using IE 6. i uploaded the image and verified it is in there. also, the style sheet is uploaded and being recognized as evidenced by the text in the cell, which shows up exactly right, live and test.

A test page i am running is; (please look about half way down in the cell that reads featured movie posters)

http://www.urbanposters.com/homepagemovies1.htm

Thanks in advance for any insight anyone may provide. :cool:
Aug 17 '05 #1
2 26106
Niheel
2,460 Expert Mod 2GB
It seems to work prefectly on your site.

Something you might want to change in your code is remove "bottom right" from "background:" and add a "background-position:bottom right;"
Nov 18 '05 #2
ok, the reason why it comes up on your site and not the dreamweaver preview is simple. your image address. dreamweaver can't locate it if you're not directly worker with your host via ftp. plus you dont have the full url. you have /images.gif
istead of http://images.gif. so being that your dreamweaver isn't configured to work directly out of your root menu (where you store all your images) it cant see it but your site will point to it for all to see on your webpage.
to preview what you're doping on dreamweaver in this case you would have to save it in your host root menu and preview the webpage thats online. other wise configure dreamweaver through ftp to your site and it will work directly out of there.

i know this is over a year later but i hope someone gets some use out of it.

Moderator: if this is all jiberish please delete my reply.

Thanks, tlthe5th
spirituallysmart.com
Nov 22 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: TAM | last post by:
Hi, I am using a table with height and width as 100%. I wish to use a background image of size W 62x H 314 pixels for one table cell. How do I make the background image stretch to fit the...
5
by: Thierry Schembri | last post by:
Hi ! I'm facing problems with a background image in a table (with IE & Opera), it works with FF : the <tr> has a background image, but the background repeats in each <td> ex : tr...
3
by: Vam | last post by:
Hi, My program makes an HTML report which needs to be easily printable. On this report is a table, and one of the columns in the table needs to express a color. I've done this by setting the...
5
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%"...
5
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I...
5
by: Doug Laidlaw | last post by:
HTML validators say that "background" is not a valid attribute for a <td> tag I want to set an image as the background for one cell only, and to have the cell content on top of it. If I can't...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
2
by: Jim | last post by:
How can I use JavaScript to change a background image in a table cell? Here's the code for the cell <td width="338" valign="top" background="../images/ LEC_Q1.jpg"><div...
4
by: Bob Altman | last post by:
Hi all, I posted an earlier question to the microsoft.public.inetserver.asp.general newsgroup asking how to set the background of a client-side table cell to a gradient, and I received this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.