This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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