Roger,

I'm sorry!  You were right.  

I was looking at the wrong element in firebug.  What happened was I had
a selector:

#affils ul, #affils ul li {
Display: inline;
List-style-type: none;
Margin: 0;
Padding: 0; /* This was overriding the padding for the li */
}

Thanks for your help!

 - Jon

-----Original Message-----
From: Roger Roelofs [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 9:54 AM
To: Jon Hughes
Cc: css discuss
Subject: Re: [css-d] Adding bg images to list items

Jon,

On May 30, 2007, at 10:59 AM, Jon Hughes wrote:

> That doesn't seem to work.
>
> #affils li {
> padding-top:50px;
> background:#339966;
> }
>
> When I do this, the background color is only behind the text, and not
> above it. (and when I use a bg image, it is only behind the text as
> well)

I'm sorry for being incomplete.  You will also have to use the  
background-position rule to put the image where you want it.

Is there any way to see this page, or a mockup?  I have a feeling  
something else is going on, but I'm not sure what it might be.

Roger,
-- 
Roger Roelofs
[EMAIL PROTECTED]



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to