472,102 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 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 26031
Niheel
2,452 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

Post your reply

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

Similar topics

5 posts views Thread by Thierry Schembri | last post: by
3 posts views Thread by Vam | last post: by
5 posts views Thread by Derek Fountain | last post: by
5 posts views Thread by Doug Laidlaw | last post: by
4 posts views Thread by Bob Altman | last post: by

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.