Sent by Jon Hughes on 30 May 2007 19:07
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 [EMAIL-REMOVED]]
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-REMOVED]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/