Solved

How do I style this pagination so it is horizontal?

Posted on 2009-05-15
2
252 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now