Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 18th, 2005, 12:06 AM
Newbie
 
Join Date: Aug 2005
Age: 32
Posts: 1
Cool 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:

Last edited by KUB365; November 18th, 2005 at 07:36 AM. Reason: All code should be in code tags
Reply
  #2  
Old November 18th, 2005, 07:41 AM
KUB365's Avatar
Administrator
 
Join Date: Jul 2005
Location: Portland, OR
Age: 27
Posts: 767
Default

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;"
Reply
  #3  
Old November 22nd, 2006, 09:16 AM
Newbie
 
Join Date: Nov 2006
Posts: 1
Default

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
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles