I would like to add some 'decoration' to my categories sidebox (or categories list box, I get the same problem in both), but when I turn on display:block every line of text get a blank/empty line under it (category names are in every other line, between them is empty space).
PHP Code:
A.category-top {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #ffffff;
width: 100%;
margin: 5px 0px 0px 0px;
padding: 0px 0px 0px 5px;
background-color: #222;
height: 20px;
display: block;
text-decoration: none;
line-height: 20px;
}
and I cant simply turn off display: block because it is the only way to get the background color to stretch on to the entire line of the sidebox (and not only beneath the text), as far as I know.
If anyone had similar problem, I would appreciate some help
p.s. I would like to avoid using mods and addons (e.g. categories dressing) if possible (although I think I would have the same problem even with it)
Bookmarks