Solved

How do I style this pagination so it is horizontal?

Posted on 2009-05-15
2
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
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 …

696 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