|
Posted by rf on 11/04/07 01:39
"Cristian" <crisjunc@gmail.com> wrote in message
news:1194138480.895484.144660@v3g2000hsg.googlegroups.com...
> On 3 nov, 18:58, Adrienne Boswell <arb...@yahoo.com> wrote:
>> Gazing into my crystal ball I observed Cristian <crisj...@gmail.com>
>> writing innews:1194134939.825448.36200@50g2000hsm.googlegroups.com:
>> > I have an image in a DIV#logo that is contained within a DIV.
> It's a relative URL,
>
> div#logo {
> background: url(data/img/corners.jpg);
One more little bit of information. If you had provided a URL up front the
problem would have been instantly identifiable.
> Does it make any difference?
a huge difference.
Let's *assume* you are using to an external CSS file, at some relative
location: cssfiles/file.css.
A background image specified inside that CSS file is relative to the
location of the CSS file, not that of the site. So your "relative" location
would in fact be:
cssfiles/data/img/corners.jpg.
Is my guesswork correct? :-)
--
Richard.
Navigation:
[Reply to this message]
|