Forum Moderators: not2easy

Message Too Old, No Replies

Condensing/Extending Type

Is there a way?

         

markd

12:59 pm on May 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi everyone

Can anybody tell me if there is a way to either 'condense' or 'extend' type using CSS?

A bit like a classic QuarkXpress sort of approach by adding horizontal scale attributes to type to condense it 20% or extend it by a similar value.

Many thanks

benihana

1:04 pm on May 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



do you mean

p{
letter-spacing:2px;
}

type of thing?

<added> but that doesnt actually scale, just spreads it out a bit

markd

4:08 pm on May 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks benihana

It was less about letterspacing or wordspacing and more about actually extending the type itself - say by 120% of its standard width.

Can this be done?

rocknbil

3:34 pm on May 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



CSS2 offers font-stretch (wider, condensed, expanded, etc . . . .) but it doesn't appear to be supported by the browsers.