Forum Moderators: not2easy

Message Too Old, No Replies

CSS on Linux

Help on Linux with Css

         

jArGoN

1:39 pm on Jan 14, 2004 (gmt 0)

10+ Year Member



Hi

I am a newbie and i cannot view pics.
I have checked the config file but nothing!

Please help!

BlobFisk

2:06 pm on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, jArGoN!

Are you referring to images linked to in the CSS file? The first thing to remember with this is that the image link should be in relation to the CSS file and the HTML page.

Secondly, you may need to check to see if your server is using root specific links or relative links etc.

Next, check to see that the image URL call is formatted correctly: background-image: url(link/to/image.jpg);.

Finally, check the MIME settings on your server - this can sometimes be the cause of problems like this.

If these don't work, some more details may help us solve the problem!

BitBanger

2:35 pm on Jan 14, 2004 (gmt 0)

10+ Year Member



By 'CSS on Linux' do you mean that the server is a Linux server?

If so, the problem is most likely that Linux is case sensitive. Make sure the references you use in your html/css match what is actually stored on the server including capitalization.

If the image is saved on the server as 'MyPicture.JPG' using <img src="mypicture.jpg" alt="" /> in your html will not work.

Hope this helps.

jArGoN

2:46 pm on Jan 14, 2004 (gmt 0)

10+ Year Member



Hi

The problem was the www root folder.
Thanks

BlobFisk

2:51 pm on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Glad you got it sorted! :)