How do I draw a border around a widget?
-
I have added the KB Advanced RSS widget into my sidebar and would like to draw a border around it. How would I go about doing this? I think I have to add it to my template CSS widget section
This is the part of the code in my template’s CSS for widgets:
.widget {
margin-left:5px;
text-align:left;
}
.leftcolwidget {
margin-left:5px;
text-align:left;
margin-top:7px;
margin-bottom:7px;
}
.widget ul, .leftcolwidget ul {
list-style: square inside;
}.widget ul li,.leftcolwidget ul li {
line-height:1.6em;
border-bottom:1px dotted #ccc;
}
.widget li ul li,.leftcolwidget li ul li {
border:none;
}
.widget ul li a,.leftcolwidget ul li a {
color:#000000;
display:inline;
font:1em Tahoma,Arial,”Trebuchet MS”,Verdana;
}
.widget ul li a:hover, .leftcolwidget ul li a:hover {
color:#29568f;
text-decoration:underline;
}
.widget ul ul,.leftcolwidget ul ul{
margin-left:10px;Any guidance would be really appreciated.
Thanks!
- The topic ‘How do I draw a border around a widget?’ is closed to new replies.