This is a discussion on "External background image not showing" within the Web Page Design section. This forum, and the thread "External background image not showing are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
External background image not showing
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
As a new member to the forum I would first of all like to say a big hello to everyone in the forum and to all its members
i am currently trying to develop a simple website just using basic HTML(XHTML) with a simple text editor, although i have done some web design/development before it has been a while and i am very rusty. At the moment i am having a problem with cascading style sheets (CSS). When i link my web page to a background image in an external folder containing the CSS, the image fails to appear. All the other CSS styling works relatively fine but as soon as i want to use an image from the external CSS folder, it does not work. However when i cut and paste the code from external css file and place directly in a td tag element it works fine. can anybody tell me what i am doing wrong. i have placed a sample of the code below " <td style = "background-image:url(image/bgBrownSlice.jpg);background-repeat:repeat-x" width = "250px" height= "400px">Right Cell </td> " many thanks, 1databyte |
|
|
|
|||
|
Re: External background image not showing
When I used tables, I would use something like background="image/bgBrownSlice.jpg" Did I make this more confusing? |
|
||||
|
Re: External background image not showing
You might have to look at the path of your image? You might have to do something like /image/ instead of just image/
|
|
||||
|
Re: External background image not showing
or ../image/foo.jpg depending. Check the path.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: External background image not showing
A quick apology and thank you to members LChad,Karinne,Moojoo for responding to my posting. Sorry that i have taken so long to follow up
(was distracted by private issues) your suggestions have been very helpful, but are things that i tried out already. I have checked the file path, i tried placing "/image", "~/image", "folder/image" and Moojoo even that girly thing you spoke about the 2 periods from MSDOS "../image" nothing worked!! At the moment i have given up on trying to solve that problem and i just use both in-line CSS and external link togther. Makes my code a bit messy by i have no other option again big thank you to every one thanks, 1databyte |
|
||||
|
Re: External background image not showing
Can you give us a link?
|
|
||||
|
Re: External background image not showing
../ represents the root level of your server so it could be ../images/foo.jpg or ../../images/foo.jpg etc etc depending.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
hi Ryan and Moojoo, thanks for replying unfortunately i do not have an available link to the website i am working on. It exists as code on my machine in an IDE software environment. At the moment i have moved on to some other pressing things and will return to this problem at a later date. Again a big thanks to you both and whoever said that "../ " was girly? (a big smile)
cheers, 1databyte |
|
||||
|
Re: External background image not showing
It's not girly, its web 2.0! <-- heh
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: External background image not showing
Lol, moojoo.
|
|
|||
|
Re: External background image not showing
wise guys theses days
|
![]() |
| Tags |
| repeat x, style sheets |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Background image not showing | Aso | Web Page Design | 1 | Apr 22nd, 2008 15:54 |
| Background page not showing up | aaronh | Web Page Design | 4 | Apr 30th, 2007 19:30 |
| Background image overlaping footer image at bottom of div | lw_d | Web Page Design | 4 | Mar 21st, 2006 00:27 |
| background image not showing up in Firefox but showing in other browsers! | eskymo | Web Page Design | 21 | Jan 19th, 2006 23:10 |
| local image not showing | kanuski | Web Page Design | 1 | Oct 16th, 2005 08:11 |