How to make an horizontal list

Someone asked me how, so here it is. Paste the following code in style.css of your theme :

ul, li {
    display: inline;
}

For example, for the default WordPress theme, it will be :

#sidebar ul, #sidebar ul li {
	display: inline;
}

It’s up to you to find the correct CSS code, as the themes have different stylecheets. My only advice would be to play with FireBug, a FireFox plugin.

2 thoughts on “How to make an horizontal list

  1. Having icons in a horizontal list is exactly what I’m trying to do- I’m just unsure as how to implement the above bit of code.

    I have the following bit of code in my theme file for single posts:

    Presumably,

    ul, li {
    display: inline;
    }
    Has to go in the stylesheet- but how do I go about doing this exactly?
    I hope you don’t mind answering this question- I’m a CSS newbie as you’ve probably already guessed. Great plugin though, and I really hope I can get it implemented on the site.