Be kind to me, I'm a CSS newbie...
I've been playing with drupal, building a web site (hyc-test.org). I
started with the "sky" theme, but didn't like the way it rendered list
items in menus.
Spcifically, it started with:
list-style-image: url(../../misc/menu-expanded.png);
in one of the early style sheets, and then overridden with
list-style-image:none
I went into this later style sheet and got rid of the list-style-image
attributes, assuming the earlier list-style-image specification would get
inherited.
The problem is, the images still don't get rendered. You can see this if
you go to http://hyc-test.org/. I tried both Firefox and Safari, with the
same result.
The real mystery is that if I examine the list item with Firefox's DOM
Inspector, under the Computed Style page, it shows list-style-image as
"url(http://hyc-test.org/misc/menu-leaf.png)". If I watch with a packet
sniffer while the page loads, I can see the browser do a GET for that URL,
and can see the "200 OK" response come back. Clearing the browser cache
has no effect; still no image gets rendered for the list items.
I'm stumped. What's going on here?
I've been playing with drupal, building a web site (hyc-test.org). I
started with the "sky" theme, but didn't like the way it rendered list
items in menus.
Spcifically, it started with:
list-style-image: url(../../misc/menu-expanded.png);
in one of the early style sheets, and then overridden with
list-style-image:none
I went into this later style sheet and got rid of the list-style-image
attributes, assuming the earlier list-style-image specification would get
inherited.
The problem is, the images still don't get rendered. You can see this if
you go to http://hyc-test.org/. I tried both Firefox and Safari, with the
same result.
The real mystery is that if I examine the list item with Firefox's DOM
Inspector, under the Computed Style page, it shows list-style-image as
"url(http://hyc-test.org/misc/menu-leaf.png)". If I watch with a packet
sniffer while the page loads, I can see the browser do a GET for that URL,
and can see the "200 OK" response come back. Clearing the browser cache
has no effect; still no image gets rendered for the list items.
I'm stumped. What's going on here?
Comment