View Full Version : Control of text pt size?

11-02-2004, 08:01 AM
Dear friends,

Would like page to write this strint of text:

Point Size 16 Point Size 9 Point Size 12.

In a single line, no <br> effect.

Where Point Size 16 prints in point size as said,
same for Size 9, and also for size 12.

USING a file xx.css (style sheet) used by the HTML page.

Have tried

div.t16 {font-size: 16pt}
div.t9 {font-size: 9pt}
div.t12 {font-size: 12pt}

defined in the style sheet and use them at the html page.

However, using <div class='t16'>Any text here</div> prints it but finishes with a <br> so this would not allow its use to print a single line with alternating point sizes of text.

So, how to print a single line that shows text alternating point sizes, using style sheets?

Thanks for your kind help.


11-02-2004, 09:21 AM
use <span> instead of <div>

it should work :cool:

11-02-2004, 06:31 PM
use <span> instead of <div>

it should work :cool:


It works just as said and needed.

BIG thanks, friend.