In a previous post I showed you how to create a custom widget, then I showed you how to create a widget for your monthly archives, and limit the month’s that show. I am showing the past 4 months in my widget at this time.
One of my readers: Alex asked:
How did you make the archives widget to show the dates separately into two columns?
Now I will show you a CSS trick to create this effect:
First we will give the unordered list a width of 100%:
ul#archives { width:110%; }
Then we will style the <li>
nested inside.
ul#archives li { display:inline; float:left; width:120px; }
And that is it. Please make sure that you clear the float
after your closing </ul>
.
I just came across an article over at WPHacks.com about a "how to" shift and…
The Ultimate WordPress Real Estate theme with custom developed plugins, single and multiple agents, extensive…
WordPress 2.6.5 is immediately available and fixes one security problem and three bugs. We recommend…
Another plugin I am using on this site: Comment Validation by Jörn Zaefferer. From Jörn's…
Woopra is the world's most comprehensive, information rich, easy to use, real-time Web tracking and…
If you don't know, this site is running the latest WordPress. Which is in Beta…