Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a dot seperated column of text

Status
Not open for further replies.

wiser3

Programmer
Jun 3, 2003
358
CA
I'm trying to format text like the following:

colour....... red
weight..... 15 kg
type..... plastic
more..... options

but do it without manually adding/removing the dots.

Any ideas, css, or html tricks to handle this?
 
You mean something like this:


That's exactly what i mean.
Having every line as it's own table makes for a lot of code, but the results look great.

Instaed of tables an outer div, then 3 nested divs (instead of td's) would probably work. Although that may not save much code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top