Link to home
Start Free TrialLog in
Avatar of chrisfixit
chrisfixit

asked on

Character width with CSS

How can I format the following text block so that the amounts line up vertically?

<div id="textblock">
Extra Adult........................£40<br>
Extra Child (11-16).............£20<br>
Extra Child (2-10)...............£10<br>
</div>

It appears that the '.' character is a different width to the numeric '1' .

Thanks
Avatar of GrandSchtroumpf
GrandSchtroumpf

your data is tabular data, so you should use a <table>.
then you can use a background image to show the dots.
ASKER CERTIFIED SOLUTION
Avatar of noamattd
noamattd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial