At 10/22/2006 09:20 PM, Brian Jones wrote:
>I have a 16px x 16px image that I want to set as the background image
>of a <li> how would i go about setting my css to accomplish this
The simple answer is:
li#example
{
width: 16px;
height: 16px;
background: url("something.jpg") left top no-repeat;
}
If the LI also contains text (as perhaps it should, to provide
content in the absence of image support), what's the relationship of
the text to the 16x16 image? Is the text hidden? Does it lie on top
of the image? What happens to that relationship as the text
resizes? Defining the situation in more detail will lead to more
detailed solutions.
Regards,
Paul
______________________________________________________________________
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/