•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,941 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,902 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 HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1873 | Replies: 13 | Solved
![]() |
•
•
Join Date: Feb 2008
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Hi Beeej21,
I have noticed that you have placed the DIV tag for your image inside of a TD tag. This can cause problems as I have learned that you can not place DIV tags inside of a table. Maybe instead you can try something like this.
Mixing TABLE tags and DIV tags has been well known to cause a lot of unnecessary problems. Give this a try and let me know how you go. I will work with this code as well to see if i can help get this problem solved.
Richie, thanks again Buddy for helping me out. I really need to have the id tag within a table cell because, #1, I am not that good at CSS yet, and 2#, I am gonna be replacing a ton of images in one table at the click of a button, changing up the entire look of a page.
Your solution didn't work as I had hoped it would.. however, something DID happen and suddenly I am seeing the images in my browser! It seems to work in both IE and Firefox! I've updated the files on my server.
I THINK it was a
backgrond-attachment: fixed;
•
•
Join Date: Jul 2005
Location: Northern Michigan
Posts: 13
Reputation:
Rep Power: 4
Solved Threads: 1
Hi Beeej21 -
These guys seem to be doing a pretty good job of taking care of you - let me just throw in a quick suggestion.
Whenever you're using a table cell background to display an image, it's ALWAYS a good idea to fill the space with something. As I'm sure you'll recall from basic HTML, an empty td is a nonexistent td when it comes to displaying in your browser. Go with Nichito's suggestion and place " " between your opening and closing td tags.
Also - I don't mean to insult your intelligence in anyway - but double-check the route to the image file. I find that this practice actually solves 85-90% of the problems that my Web Design 1 students have with their pages as they learn HTML and CSS.
Best of luck!
These guys seem to be doing a pretty good job of taking care of you - let me just throw in a quick suggestion.
Whenever you're using a table cell background to display an image, it's ALWAYS a good idea to fill the space with something. As I'm sure you'll recall from basic HTML, an empty td is a nonexistent td when it comes to displaying in your browser. Go with Nichito's suggestion and place " " between your opening and closing td tags.
Also - I don't mean to insult your intelligence in anyway - but double-check the route to the image file. I find that this practice actually solves 85-90% of the problems that my Web Design 1 students have with their pages as they learn HTML and CSS.
Best of luck!
•
•
Join Date: Feb 2008
Location: Noosa, Qld, Australia
Posts: 150
Reputation:
Rep Power: 1
Solved Threads: 10
Beeej21. That is great news that you have fixed the issue. It was my pleasure to help you out as much as i could. I will be willing to help you again in the future if you ever need it. Also opsryushi has made a great point, it is great practice to double-check the route to your image. Have fun and best of luck!
richie513
richie513
Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important.
richie513
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
apple beta bon browser code cross-browser javascript menu with few lines of code css development div dreamweaver echo email encryption firefox google checkout google checkout vat html html api internet javascript microsoft mobile mozilla news nintendo opera patch pda privacy safari security spoof symantec tables testing url w3c web webmail wii windows wysiwyg xml
- Unresponsive script (DaniWeb Community Feedback)
Other Threads in the HTML and CSS Forum
- Previous Thread: Where do i start?
- Next Thread: What's wrong with this code?



Linear Mode