This may sound basic but I spend hours trying to find a way to track out a bulleted horizontal line, basically it would be like a dash line but with bullets. I created a CSS rule to create my horizontal bulleted line but can't find a way to adjust the space between the bullets, another words tracking it out... You can't use letter spacing because it's code and not individual characters.
Thanks!
David
Hi David,
if I understand you in the right way, you could use this and play a little bit with the different parameters.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS: different dividing lines</title>
</head>
<body>
<p>section 1</p>
<hr style="width:300px; color:yellow; background-color:yellow; height:50px;
margin-right:0; text-align:right; border:2px dashed blue;">
<p>section 1</p>
<p>section 2</p>
<hr style="width:300px; color:yellow; background-color:green; height:50px;
margin-right:0; text-align:right; border:5px dashed red;">
<p>section 2</p>
<p>section 3</p>
<hr style="width:300px; color:deeppink; background-color:mediumslateblue; height:50px;
margin-right:0; text-align:right; border:10px dashed darkturquoise;">
<p>section 3
</p>
</body>
</html>
Hans-Günter
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
#wrapper {
width: 980px;
margin: 0 auto;
}
.dottedLine {
position: relative;
width: 980px;
}
.left {
float: left;
width: 740px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 20px;
letter-spacing: 0;
margin-bottom: 20px;
}
.right {
float: left;
width: 235px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 11px;
letter-spacing: 0;
text-align: right;
padding: 1em 5px 0 0;
margin-bottom: 20px;
}
.dots {
position: absolute;
left: 0;
top: 20px;
letter-spacing: 6px;
width: 980px;
overflow: hidden;
}
</style>
</head>
<body>
<div id="wrapper">
<p class="dottedLine"><span class="left">Bringing brand design into the art fair</span><span class="right">March 30, 2012</span><span class="dots">........................................................ ..........................................</span></p>
<p>Some text goes here</p>
<p class="dottedLine"><span class="left">Bringing brand design into the art fair</span><span class="right">March 30, 2012</span><span class="dots">........................................................ ..........................................</span></p>
<p>Some text goes here</p>
</div>
</body>
</html>
Hi David,
here the two versions (osgood_'s/mine) in a "live environment"
: http://dala-laegret1963.de/AdobTest/trennlinien/trennlinien.php.
Hans-Günter
North America
Europe, Middle East and Africa
Asia Pacific