This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS dots and dashes

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to use css to put dots or dashes after a line of text to another piece of text similar to following:

Chapter 1: intro -------------------------------------- pg 12
Chapter 2: Something ---------------------------------- pg 35

I have seen this before but I cannot remember where.
 
Nimchi Yung
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if this is what you are looking for. But you could use
pseudo-elements.

Try this:



--Nimchi
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here play with this:


Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic