Word-style TOC With Roman- And Page-numbers
DZone's Guide to
Word-style TOC With Roman- And Page-numbers
Join the DZone community and get the full member experience.
Join For Free
ol { list-style:upper-roman; }
li {
/* color depends */
border-bottom:1px dashed black;
}
li span {
float:right;
padding-left:10px;
}
li a {
text-decoration:none;
padding-right:10px;
}
li a, li span {
position:relative;
background:white; /* depends */
top:2px;
}
source: http://blogger.xs4all.nl/peterned/archive/2006/06/30/103089.aspx
Topics:
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}
{{ parent.urlSource.name }}