|
Posted by Cristian on 11/04/07 01:08
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:
>
>
>
> > Hello!
>
> > I have an image in a DIV#logo that is contained within a DIV.
>
> ><BODY>
> > <DIV ID="container">
>
> > <DIV ID="logo">
> > <IMG SRC="url">
> > </DIV>
>
> ><-- other DIVs and content here -->
>
> > </DIV>
> ><BODY>
>
> > I want to set an image background to the DIV#logo. This is the code I
> > am using:
>
> > div#logo {
> > background: url(url.jpg) red;
> > }
>
> > But the background image won't show up. I can see the red background
> > color. I've taken the image in the HTML away, I've added padding to
> > DIV#logo to see if the background image appears, but nothing happens.
>
> > I hope someone can help me.
>
> > Thanks in advance!
>
> Is url.jpg a real image? A URL would be helpful.
>
> --
> Adrienne Boswell at Home
> Arbpen Web Site Design Serviceshttp://www.cavalcade-of-coding.info
> Please respond to the group so others can share
It's a relative URL,
div#logo {
background: url(data/img/corners.jpg);
}
Does it make any difference?
Navigation:
[Reply to this message]
|