Solved

How do I style this pagination so it is horizontal?

Posted on 2009-05-15
2
255 Views
Last Modified: 2012-05-07
I have the attached code that displays pagination...but it displays it vertically in a bulleted list.

I need it to be non-bulleted and horizontal. How do I do that?
<ul class="pagination"><li><strong><a href="/lmh/home/news-press-releases.html" title="Start">Start</a></strong></li><li><strong><a href="/lmh/home/news-press-releases.html" title="Prev">Prev</a></strong></li><li><strong><a href="/lmh/home/news-press-releases.html" title="1">1</a></strong></li><li>2</li><li>Next</li><li>End</li></ul>

Open in new window

0
Comment
Question by:Donnie Walker
2 Comments
 
LVL 9

Accepted Solution

by:
knonie earned 500 total points
ID: 24397723
Just add the line:

display: inline;

in css for pagination, for li.

It might be like:
.pagination li{
display: inline;
}

Open in new window

0
 

Author Closing Comment

by:Donnie Walker
ID: 31581961
Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question