I have a span with no text, it looks like an image, it has background and padding. But it doesnot execute onclick event. What to do? Do I need obviously change span to everything else?
A:
Make sure there's something inside the span, e.g.:
<span> </span>
Jason Cohen
2009-02-20 16:38:08
I tried to put - nothing
dynback.com
2009-02-20 16:43:44
A:
As far as i know if you want its background to be visible you need to set width and height for the span. And at least you need to include a space inside span
<span style='height:20px; width:100px; display:block;'> & n b s p ;</span>
Barbaros Alp
2009-02-20 16:45:09
I use span, as inline element.container .header .remove { background: url(gfx/container/remove.png); padding: 1px 8px 2px 8px; margin: 5px; }
dynback.com
2009-02-20 17:03:17
A:
There is no need in spaces or anything, its working great without any changes, that was my bad!
dynback.com
2009-02-20 17:13:59