MEDBLOG : Actualités Geek Web 2.0 & Webdesign

Actualités Geek Web 2.0 & Webdesign

Tutorial de création d’une barre de pagination tout en CSS avec 15 exemples

Barre de pagination CSS
En a déjà vu comment créer un effet glace sur une image en utilisant un Js et aussi comme personnaliser c’est bouton radio et Checkboxes, Cette fois si nous allons voir comment créer et personnaliser la pagination de votre site ou blog en Xhtml/CSS .

Premier partie :
Téléchargez et placez le fichier pagination.css dans votre répertoire racine par exemple, ensuite ajoutez la balise qui va faire appel à ce style CSS entre <head> et </head> :

<link href="pagination.css" rel="stylesheet" type="text/css" media="screen" />

Faites attention au paramètre “src” qui indique l’emplacement du script.

Contenu du fichier CSS pagination.css

/*CSS style pagination*/
	div.pagination {
		padding: 3px;
		margin: 3px;
		text-align:center;
	}

	div.pagination a {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #AAAADD;
		text-decoration: none; /* no underline */
		color: #000099;
	}
	div.pagination a:hover, div.digg a:active {
		border: 1px solid #000099;
		color: #000;
	}
	div.pagination span.current {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #000099;
		font-weight: bold;
		background-color: #000099;
		color: #FFF;
	}
	div.pagination span.disabled {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #EEE;
		color: #DDD;
	}

Deuxième partie :
Ajoutez la class à la balise qui va servir de conteneur (div) pour afficher l’effet

<div class="pagination">
<span class="disabled">◄</span>
<span class="current">1</span>
<a href="#?page=2">2</a>
<a href="#?page=3">3</a>
<a href="#?page=4">4</a>
<a href="#?page=5">5</a>
<a href="#?page=6">6</a>
<a href="#?page=7">7</a>
...
<a href="#?page=199">199</a>
<a href="#?page=200">200</a>
<a href="#?page=2">►</a>
</div>

Le résultat final :
Voici 15 style possible pour votre pagination, il ne vous reste qu’a télécharger le fichier CSS du style que vous souhaite avoir et l’intègre comme je l’ai exemple dans le tutoria.

Digg Style (Download CSS)
1234567199200

Yahoo Style (Download CSS)
1234567199200

Meneame Style (Download CSS) (IMAGE)
1234567199200

Flickr Style (Download CSS)
1234567199200

Sabros.us Style (Download CSS)
1234567199200

Green Style (Download CSS)
1234567199200

Gray Style (Download CSS)
1234567199200

Black Style (Download CSS) (IMAGE 1, IMAGE 2)
1234567199200
Black-Red Style (Download CSS)
1234567199200

Gray Style 2 (Download CSS)
1234567199200

Yellow Style (Download CSS)
1234567199200

Jogger Style (Download CSS)
1234567199200

starcraft 2 Style (Download CSS)
1234567199200

Tres Style (Download CSS)
1234567199200

512megas Style (Download CSS)
1234567199200

Technorati Style (Download CSS)
1234567199200

YouTube Style (Download CSS)
Prev1234567199200Next

MSDN Search Style (Download CSS)
◄ Prev1234567199200Next ►

Badoo Style (Download CSS)
◄ Prev1234567199200Next ►

Blue Style (Download CSS)
◄ Prev1234567199200Next ►
N’hésitez pas à me laisser des commentaires après vos essais.

Source : mis-algoritmos

AddThis Social Bookmark Button

76 commentaires, commentaire ou Trackback

  1. Salut je comprends pas tout.
    j’ai essayé de mettre tous ces codes en place mais quand je cliquais par exemple sur la page 5 c’était toujours la page d’acceuil..
    j’ai du me trompé dans l’emplacement du code Div.. Pourrais-tu m’aider stp ?

  2. Tu veux dire quoi par les mettre en place, juste pour information, tous ses exemples sont des structure CSS qui ne peuve être réellement utiliser si il n’a pas un code PHP qui généré la pagination de tes pages (calcule le nombre de page et rajout les liens)

  3. SuN

    Excellent, merci.

    pour le code php/SQL qui va avec, celui-ci est très bien:
    http://www.phpcs.com/codes/PAGINATION-AUTOMATIQUE-APPEL-FONCTIONS-PHP_39392.aspx

  4. Merci beaucoup MedBlog
    juste une remarque pour l’encodage du â–º j’ai pas pu l’utiliser :(, j’ai lui remplacé par >> ou

  5. Oui bien sûr, ca gène en rien, mais je ne vois pas pourquoi ca n’a pas fonctionné pour toi

  6. cette page est encodé à UTF-8
    donc il faut que ta page soit en UTF-8 pour que ca marche
    tu vois !

  7. Ma page est UTF-8, mais au niveau du code comment je peux utilisé la fléche ◄? y a t il un code ascii ou quelque chose comme ça pour cet caractere?

  8. Cp1252 encoding :)

    ça marche maintnt le problème été au niveau de workSpace, j’ai trouvé ma solution ici :

    http://rubricabrac.blogspot.com/2006/12/howto-encoding-ouvrir-sous-linux-un.html

    Merçi Med :)

  9. Achjijem Nafee

    Viva Drari
    Excellent, merci…. :)

  10. Prince Turk

    salut j’aimerais bien mettre sur sous mon blogger est-ce possible et comment faire merci

  11. Kud

    Hello,

    Bon tutorial, je m’en suis inspiré pour faire ma pagination.

    Cependant, j’ai apporté un correctif, j’ai tout passé en ul / li pour respecter un peu plus la sémantique, si tu veux le patch, n’hésite pas à me contacter.

  12. bonjour j ai un gros soucis
    depuis une semaine il n y que 5 messages
    par page qui s affichent ca n était pas le cas avant !!!blogger a tout changer
    j ai bien reglé le nombre de messages sur 20
    mais je ne constate aucun changement par la suite . je commence a en avoir marre de blooger
    car beaucoup ont exactement le meme probleme
    que moi
    je crois que je vais abandonner blooger de colere !!!!
    pascal665.blogspot.com merci d avance
    a moins que q uelqun puisse m aider ??

  13. Très utile! Merci

  14. Someone essentially help to make seriously posts I would state. This is the very first time I frequented your website page and thus far? I surprised with the research you made to make this particular publish amazing. Great job!

  15. You have a few useful pointers on this site. This is a well written article that I have bookmarked for future reference. Have a great day

  16. Hi to every , since I am really eager of reading this blog’s
    post to be updated daily. It consists of good material.

  17. Hi! I could have swotn I�ve been to this wweb sikte before but after browsing through some of the posts
    I realized it�s new to me. Anyways, I�m definitely happy I came across it and I�ll be book-marking it and checkijg back frequently!

  18. Uta

    Hello, yeah this article is genuinely pleasant and I have learned lot of things from it concerning blogging.
    thanks.

  19. Quality content is the secret to interest the users to ppay a visit tthe web
    site, that’s what this site is providing.

  20. Fabulous, what a webpage it is! This website presents useful information too us,
    keep it up.

  21. We are a gaggle of volunteers and opening a brand new scheme in our community.

    Your website provided uss with useful info to
    work on. You’ve performed a formidable activity and our entire neighborhood shall be grateful to you.

  22. This site certainly has all the information I wanted about this subject
    and didn’t know who to ask.

  23. I like this site it’s a master piece! Gladd I discovered this oon google.

  24. Hi there would you mind letting me knlw which web host you’re working with?
    I’veloaded your blopg in 3 different web browsers annd
    I must say this blog loads a lot faster then most.

    Can youu suggest a good internet hosting provider at
    a fair price? Thank you, I appreciate it!

  25. Thanks for sharing your thoughts on Css. Regards

  26. Thanks , I’ve recently been searching for information about this ubject for a lonng time and yours is the greatest I’ve found
    out till now. But, what about the bottom line? Aree you sure in regards to the supply?

  27. I don’t now if it’s just me or if everyone else experiencing issues with
    your website. It appears as though some of the tedxt on your posts are running off the screen. Can someone else pplease
    provide feedback and lett me know if this iss happening to them
    too? Thiss may be a problem with my browser because I’ve had this happen previously.
    Appreciate it

  28. Doеs anyonee know the deadline for Macfarlanes LLP Training
    Contract Application? Нere’s hօ-ho-hoping yoᥙ havе a
    very Merry Christmas

  29. It’s truly very difficult in this busy life to listen news
    on TV, so I just use world wide web for that purpose, and get the hottest
    news.

  30. Are you comfortable doing your personal taxes?

  31. We now have Tousands of Clean T-shirts to select
    from.

  32. I visit day-to-day a few weƄ sites and ѕites to read artіclеѕ, exceptt this weblog giives feature based ɑrticles.

  33. I every time emailed this weeb site post page to all my friends, since if like to read it afterward mmy friends will too.

  34. I’ve been abset for some time, but now I remember why I used to love this site.
    Thank you, I’ll try and check back more frequently. How frequently you update your
    web site?

  35. Excellent post. I was checking continuously this blog
    and I am impressed! Extremely helpful information particularly the final section :) I handle such info a lot.
    I used to be seeking this particular information for a long time.
    Thanks and best of luck.

  36. I the efflrts you have put in this, regards for all the great posts.

  37. What i don’t realize is in fact how you’re not really a lot
    more smartly-appreciated than you may be right now.
    You are very intelligent. You realize therefore considerably in terms of this matter, made me personally
    imagine it from a lot of varied angles. Its like men and women aren’t interested
    until it’s one thing to accomplish with Girl gaga!
    Your personal stuffs nice. Always take care of it up!

  38. If you are going for most excelpent contents like me, just pay a quick visit this web page every day since it provies quality contents, thanks

  39. You can definitely see your skills in the work you write.
    The world hopes for even more passionate writers such as you who aren’t afraid to mention how they believe.
    All the time follow your heart.

  40. Hi guys, Ӏ amm the manager and ceo off Just CBD store, an online CBD gοods store situated
    ɑll the way iin Florida. I am aiming tⲟ open uр ann online CBD store іn the UK.
    Does ɑnyone have any expertise of managinng
    a CBD and hemp store in the UK? I ԝould be grateful fօr аny infoгmation and simiⅼarly,
    I am looking for interesteԁ partners wһ᧐ want t᧐ assist.
    I haѵe ɑctually registered ᴡith Vape Life Mag, CBD Life Mag,Аll Vape
    Stores and Alⅼ CBD Stores as affiliate partners. Yօu can reach mе on Facebook or
    jᥙst dop mme a message Ƅelow.

  41. There’s certainly a great deal to learn about this issue.

    I like all of the points you made.

  42. Good way of telling, and pleasant piece of writing to
    get data about my presentation subject, which i am going to
    present in university.

  43. Занятный блог:) Он еще и грузится практически мгновенно.
    Что за хоствеб вы используете?
    Могу ли я получить партнерскую ссылку на ваш хост?
    Я хочу, чтобы мой собственный блог загружался
    так же быстро, как ваш:)

  44. Hi, i think that i saw you visited my weblog so i got here to return the want?.I am
    trying to find things to enhance my web site!I suppose its good enough to use some of your concepts!!

  45. If some one desires to be updated with latest technologies after
    that he must be visit this web site and be up to date
    everyday.

  46. Dự án thuộc xã Vĩnh Hải, huyện Ninh Hải.

  47. My brother recommended I would possibly like this blog.

    He was once totally right. This submit actually
    made my day. You can not consider simply how a lot time I had spent for this info!
    Thank you!

  48. It’s an awesome paragraph designed for all the web viewers; they will get advantage from it I am sure.

  49. Hello it’s me, I am also visiting this web page daily, this site is in fact pleasant and the visitors are actually sharing good thoughts.

  50. It’s amazing to visit this website and reading the views of all friends regarding this article, while I am also keen of getting knowledge.

  51. I pay a visit each day some web sites and information sites to
    read posts, but this weblog gives feature based posts.

  52. Excellent beat ! I would like to apprentice at the same time as you amend
    your web site, how can i subscribe for a blog web site?

    The account aided me a acceptable deal. I had been a little bit acquainted of
    this your broadcast provided bright transparent concept

  53. This post provides clear idea in favor of the new viewers of blogging, that
    truly how to do blogging.

  54. Hі folks! I amm the purchase administrator ɑt
    Clouder UK online vappe shop (https://clouder.co.uk). Ꮃe aree
    now w᧐rking oon extending ouг 10 ml pure nicotine eliquijd ɑnd shortfill e-liquid range aand ԝould be
    thankful if any vapers coᥙld possіbly advise а number of fantastic manufacturers
    that are not extremely popular. Ꮃe аre thinking of
    tɑking up aⅼl оf these e-juice brands: Ꭺll Dɑy Vape
    Company (ADVC), Juicy Savers E-Juices, Strfawmonhead By HomeTown Vapor Pleɑѕе respond to tһis thread օr
    DM mе:-RRB- Cheers

  55. Oh my goodness! Impressive article dude! Many thanks, However I am going
    through problems with your RSS. I don’t know
    why I cannot join it. Is there anybody having the same RSS
    problems? Anyone who knows the solution will you kindly respond?
    Thanks!!

  56. I аm thinking of stocking tһe folⅼowing e-liquid
    label Optimum Elixirs Е-Juice wіtһ my vape store (https://www.vapemeet.ca/). Ӏs
    thiѕ e-liquid ԝell-known? Wоuld you advise it?

  57. I blog quite often and I seriously appreciate your content.
    The article has truly peaked my interest. I’m going to book mark your blog and keep checking for new information about once a week.
    I subscribed to your RSS feed too.

  58. This post is truly a good one it assists new internet users, who are wishing in favor of blogging.

  59. It’s an awesome post designed for all the web visitors; they will take advantage from it I am sure.

  60. They should clearly analyze the organization status
    and determined by their experience and solution given to other clients,
    they can come out with effective optimization services.
    Search engines including Google, Yahoo and MSN are sticklers when it comes to duplicate content.
    As discussed earlier it’s just not a simple job but computerized devices difficult is the
    updated knowledge of current forced to rank high.

  61. I’d like to thank you for the efforts you’ve put
    in penning this website. I’m hoping to check out
    the same high-grade blog posts by you in the future as well.
    In fact, your creative writing abilities has inspired me to get my very own blog now ;)

  62. What’s up everyone, it’s my first visit at this
    web site, and article is actually fruitful in favor of me, keep up posting such content.

  63. you’re really a just right webmaster. The web site loading speed is incredible.
    It seems that you’re doing any distinctive trick.
    Moreover, The contents are masterwork. you have performed a great activity in this topic!

  64. Thanks for every other wonderful post. The place else may anybody get that kind of info in such an ideal method of writing?
    I have a presentation next week, and I am at the look for such info.

  65. This is my first time pay a quick visit at here and i am really impressed to read
    all at alone place.

  66. whoah this weblog is magnificent i really like studying your articles.
    Keep up the great work! You know, lots of people are searching around for this info, you can aid them
    greatly.

  67. После изучения нескольких материалов на разных онлайн порталах, я
    действительно оценил ваш стиль!!!
    Я добавил вашу страницу в закладки,
    и в ближайшем будущем планирую постоянно ее
    посещать… Пжл, загляните и на
    мой интернет-сайт, и выскажите мне свое мнение о нем!

  68. Если вы, как и я, посещаете этот интернет-сайт, вы
    непременно хотите узнать, не написал ли
    еще автор настоящую книгу:) Я
    еще не закончил читать все доступные материалы, однако это очень
    интересный ресурс!!! Я обязательно вернусь!

  69. wonderful points altogether, you simply won a logo new
    reader. What may you suggest about your post that you
    simply made a few days in the past? Any sure?

  70. I think this is one of the so much important info for me.
    And i’m satisfied reading your article. However want to commentary on some normal things, The website
    taste is great, the articles is really nice : D. Good job, cheers

  71. you’re in reality a good webmaster. The site loading speed
    is incredible. It kind of feels that you’re doing any distinctive trick.

    In addition, The contents are masterwork.
    you’ve done a fantastic job in this subject!

  72. Hurrah! After all I got a website from where I be capable of actually get
    valuable facts regarding my study and knowledge.

  73. Good article. I definitely appreciate this website. Stick with it!

Répondre á “Tutorial de création d’une barre de pagination tout en CSS avec 15 exemples”

Recevez les derniers articles par mail :

 

Recent Comments

  • bunga papan murah
    Microsoft se lance dans VoIP avec Office Communication Server 2007
    2019-07-15 17:01:21
  • xem giờ sinh
    Microsoft se lance dans VoIP avec Office Communication Server 2007
    2019-07-15 13:24:10
  • Buford
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-14 02:14:20
  • blog noticed
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-13 23:45:43
  • business news
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-13 13:02:15
  • finance and investment news
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-13 07:52:06
  • blogging business
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-11 08:02:49
  • Broderick Spafford
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-09 22:45:50
  • игровой автомат дельфины бесплатно играть жемчужина дельфина
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-09 22:25:37
  • song lyrics
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-08 13:16:14
  • social networking
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-04 23:05:35
  • total energy
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-04 12:10:53
  • download
    Est il nécessaire de cliquer pour naviguer
    2019-07-04 10:57:15
  • losing weight
    Tutorial de création d'une barre de pagination tout en CSS avec 15 exemples
    2019-07-04 01:28:36
  • khwab ki tabeer
    Verify Email, contrôle vos adresse e-mail
    2019-07-03 16:48:34

Par Albert Einstein

“La connaissance s'acquiert par l'expérience. Tout le reste n'est que de l'information.”

Feedburner RSS
Ajoute a Technorati Favoris