•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 430,101 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,161 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1022 | Replies: 1
![]() |
•
•
Join Date: Feb 2008
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
Hello all!
I am struggling with what seems to be a very simple problem. Well, the issue is extremely annoying and problematic, and I am unable to figure out the solution.
I am using CSS to load an image onto my HTML page. The reason being because I'd like to be able to swap out the images using CSS depending on the circumstance. Well, for some odd reason, the image is showing up in Dreamweaver CS3 in my desighn panel, but it does not show once I load that same page into a browser! That is very frustrating.
Here is the code from my css file:
Pretty straight forward. Now here is the code residing on my HTML page:
Can someone PLEASE explain to me why Dreamweaver is showing the image in my table cell, but once I load the page into a browser ( IE, Firefox, Netscape, etc ) I do not see anything except for the background color I picked for the css tag. The background color shows up, so I know that the HTML page is connecting properly to the css file.
Please help. Thank you in advance.
I am struggling with what seems to be a very simple problem. Well, the issue is extremely annoying and problematic, and I am unable to figure out the solution.
I am using CSS to load an image onto my HTML page. The reason being because I'd like to be able to swap out the images using CSS depending on the circumstance. Well, for some odd reason, the image is showing up in Dreamweaver CS3 in my desighn panel, but it does not show once I load that same page into a browser! That is very frustrating.
Here is the code from my css file:
#me {
background-image: url(../../images/avatar.jpg);
background: #000000;
background-repeat: no-repeat;
background-attachment: fixed;
height: 125px;
width: 125px;
position: relative;
}Pretty straight forward. Now here is the code residing on my HTML page:
<td width="125"><div id="me"></div></td>
Can someone PLEASE explain to me why Dreamweaver is showing the image in my table cell, but once I load the page into a browser ( IE, Firefox, Netscape, etc ) I do not see anything except for the background color I picked for the css tag. The background color shows up, so I know that the HTML page is connecting properly to the css file.
Please help. Thank you in advance.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax apple asp beta bon browser cross-browser javascript menu with few lines of code css developer development div echo email encryption firefox home html internet javascript javascript smooth scrolling scroll smoothly window document position javascript tab menu with rounded corners generator microsoft mobile mozilla msdn news nintendo office opera patch pda prevent javascript menu from getting hidden under flash movies privacy safari security site software spoof sql symantec tables testing url vista web webmail wii windows
- Open In New Window Php (PHP)
- Align floated images in center of page with CSS (HTML and CSS)
- Css Fixed Background Attachment (Site Layout and Usability)
- HTML CSS bullet style (HTML and CSS)
- Freeprodtb!! (Viruses, Spyware and other Nasties)
- HELP! With Javascripts Pop-Up Window (JavaScript / DHTML / AJAX)
- Does anyone know how to create keyword pop-ups? (please read to understand my ??? ..) (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: how to get nodeName with javascript in firefox
- Next Thread: Urgently help needed regarding javascript


Linear Mode