PDA

View Full Version : CSS Line Height



coldyn8w
April 17th, 2008, 05:25 AM
Hey there,

Does anyone know a fix or hack to get Line-height/leading working with a style sheet and AS3? There is a leading attribute in TextFormat, but you cant apply both CSS and TFmt to a TextField.

There are hacks for AS2 but I wouldnt know where to start on migrating them...

thanks!!!

coldyn8w
April 17th, 2008, 06:20 AM
~OK so it seems just using "leading" in your style sheet instead of line-height works.....
So much more simple than what I was trying to do....

This isnt an officially supported CSS attribute so probably wont work if you try use the same style sheet with an HTML doc.