You are here: Re: Newbie question « HTML « IT news, forums, messages
Re: Newbie question

Posted by mbstevens on 08/03/07 14:46

Nikolay Kurtov wrote:
> I have index.html, style.css, image.png in one folder.
>
> in index.html I include style.css
> <head>
> <title>Newbie question</title>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" /
> <link href="style.css" rel="stylesheet" type="text/css" />
> </head>
>
>
> In style.css I set the background:
>
> body{
> background-image:url("image.png");
> }
>
>
> But the image doesn't load.
> How should I correct the url in css?
>
In addition to the possibilities reflected in other answers, consider
whether you are posting from a Windows machine. Capitalization does not
matter there, but may on your server. For instance, IMAGE.PNG on a
windows machine would not load under a *[iu]x machine if you called it
"image.png".

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация