psenn
asked on
YUI CSS and list-style-image
How do I add an image to a list if I'm using YUI CSS Grids builder?
It must be something to do with margins or padding.
The code snippet below works, but when I add YUI, my images disappear.
<link rel="stylesheet" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css">
It must be something to do with margins or padding.
The code snippet below works, but when I add YUI, my images disappear.
<link rel="stylesheet" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css">
<style type="text/css">
ul {
list-style-image: url(CSS/Images/arrow.jpg);
}
</style>
</head>
<body>
<ul>
<li>List Item One</li>
</ul>
</body>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ul li
{
list-style-image: url('CSS/Images/arrow.jpg' );
}
also check for the path of the image.
{
list-style-image: url('CSS/Images/arrow.jpg'
}
also check for the path of the image.
ASKER
ul li
instead of
ul.