473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

css problem with background images

Hi all,
I am having problems loading background images on my pages. I have
created a css to display the images. It works just fine on my test box,
but when I tried on real pages it wont upload any images everythin else
displays just fine. I used a table and added a background image to
every row. when i call the page it shows that it is preloading images
but never displays. I have tried to place the css code on the page
itself as well. the code for my CSS.html is as follows:

..style_slice5 { background-image:url(images/ADSS_Layout-05.jpg);
background-repeat: no-repeat }
..style_slice6 { background-image:url(images/ADSS_Layout-06.jpg);
background-repeat: no-repeat }
..style_slice7 { background-image:url(images/ADSS_Layout-07.jpg);
background-repeat: no-repeat }
..style_slice8 { background-image:url(images/ADSS_Layout-08.jpg);
background-repeat: no-repeat }
On the pages I used <link href="/styles.css" rel="stylesheet"
type="text/css"> to call it.
can anyone help?

thanks in advance.

Oct 27 '05 #1
3 2021
Els
ribinha wrote:
Hi all,
I am having problems loading background images on my pages. I have
created a css to display the images. It works just fine on my test box,
but when I tried on real pages it wont upload any images everythin else
displays just fine. I used a table and added a background image to
every row. when i call the page it shows that it is preloading images
but never displays. I have tried to place the css code on the page
itself as well. the code for my CSS.html is as follows:

.style_slice5 { background-image:url(images/ADSS_Layout-05.jpg);
background-repeat: no-repeat }
.style_slice6 { background-image:url(images/ADSS_Layout-06.jpg);
background-repeat: no-repeat }
.style_slice7 { background-image:url(images/ADSS_Layout-07.jpg);
background-repeat: no-repeat }
.style_slice8 { background-image:url(images/ADSS_Layout-08.jpg);
background-repeat: no-repeat }
On the pages I used <link href="/styles.css" rel="stylesheet"
type="text/css"> to call it.
can anyone help?
I think a short look on the patient will quickly result in an accurate
diagnose ;-)
(iow: can you show a URL?)
thanks in advance.


You're welcome.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Oct 27 '05 #2
Hi Els:
I cant give out the URL cause it is a clients box. Its a secure url. I
have the images as background in the cells <td>. but the thing is when
I put the images on the cell without the css it pulls it up. the path
for the images are good and complete. Also it onle gave some problems
when I added data to the application. on the test box it worked just
fine. Thanks for the help in advance.

Oct 28 '05 #3
Els
ribinha wrote:
Hi Els:
Hi ribinha - please can you quote the relevant part of the message
you're replying to? It makes it easier (or even possible) to figure
out what you are talking about.
I cant give out the URL cause it is a clients box. Its a secure url. I
have the images as background in the cells <td>. but the thing is when
I put the images on the cell without the css it pulls it up.
No idea what you mean by that.
the path
for the images are good and complete. Also it onle gave some problems
when I added data to the application. on the test box it worked just
fine. Thanks for the help in advance.


I can't help if I don't see any code.
The above description doesn't do it for me. My guess is that either
you uploaded the images to the wrong directory, or else, the paths are
wrong. Another possibility is that there is some kind of block (by IP
or referrer maybe) which accidentally was left in the .htaccess after
development of the site.

Did it work on the client's box before you added data? If that's the
case, you should look at the differences of the pages between before
and after adding the data.

Why don't you make a copy with different images, different text, just
as an example (must have the problem in it though), and put that up
somewhere where we can see it?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Oct 28 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RugbyTravis | last post by:
I want to have a list that is horizontal and each <li> has different images. I also want them to change on hover. I want the words to be below the images as well. Anyone of you styles gurus have...
0
by: Ataru Morooka | last post by:
Hello, I am renewing a website using CSS and I have some problems with IE6. Following this link: http://www.ansv.it/templates/Template_Index_IT.dwt.asp you may notice that the container area has...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
12
by: Raed Sawalha | last post by:
I have the following table which i can not switcha to design view error message said Could not open in Design view. Quote values differently inside a '<% ...."value"... %>' block. and the...
1
by: mascouta | last post by:
I have a lot of problems with IE browser, one of them is described in this topic. in my website i have div Calculator with background image. it displayed perfectly with Firefox browser however in IE...
4
by: kumuda v | last post by:
Hi, I am new to web development. I have designed a main page using html and css, I am working in linux OS so I am using firefox. But the problem is with IE, where the entire contents and...
2
by: stevemtno | last post by:
I've got a problem with a web page I'm working on. I have 4 modules - one of them has 2 tabs, two of them have 4 tabs. When the user clicks on the tabs, the content below them changes. However, when...
3
by: rassklass | last post by:
HI all, I have designed a site found at www.pickupnewspapers.co.uk/nottinghamshire/index.html but I cant get the footer to sit stil on the page. It is because of the javascript ticker, everytime...
2
by: sharkyboy | last post by:
hey, for some reason my site looks ok with IE but not with FF! usually the other way round! the site is here http://www.sjjit.co.uk/newsitetest/index.html. it looks correct in IE but the main...
2
by: swethak | last post by:
hi , i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.