css - Monospaced font to align text using spaces makes it look odd -


i using default html font - liberation serif—30 glyphs in page. faced problem, multiple spaces align 2 columns of text not working properly.

i found out, spaces not displayed @ same width other characters , hence same number of characters doesn't use same width. so, started using monospaced font. solves alignment problem.

the alignment looks font not commonly used 1 per corporate standards.

how can use font liberation serif , still alignment using space characters?

if want align text in columns, how using <table>? or if it's not tabular data, css , float: left;.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

javascript - How to insert selected radio button value into table cell -

css - Transitioning Transforms in Safari look terrible/shaky/stuttering -