It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes CSS dots and dashes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "CSS dots and dashes" Watch "CSS dots and dashes" New topic
Author

CSS dots and dashes

Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 251
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.


http://www.goodercode.com
SCJP 1.4
Nimchi Yung
Ranch Hand

Joined: Jan 27, 2004
Posts: 71
Not sure if this is what you are looking for. But you could use
pseudo-elements.

Try this:



--Nimchi
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
here play with this:


Eric
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: CSS dots and dashes
 
Similar Threads
morse code converters
Boone's mock exam Q47
JQuery Element ID Question
String - Remove dashes from text
Boonie's Exam: 47 - mistake??