lineheight

How do I set the line height of a FormattedText

I am building a text-to-image generator that takes a text, a font, a max width and some other parameters and generates an image from this. It will be used as a custom server control in a web site to generate headlines. I allready have a component like this which uses GDI+. The problem with this is that GDI+ is incapable of setting line ...

Is there a way to set min-line-height on inline element in CSS?

I have some inline links with icon showing on the left (padding + bacground), but when the font is too small, the image doesn't fit in line height and gets cropped on top and bottom. Is there any way to prevent it from happening, without use of javascript? I don't want to set font size in px.. Some min-line-height set to non-relative va...

sIFR3 and line-height/leading

I've successfully implemented sIFR3 using the nightlies from the end of Oct. All is well and much easier to work with than sIFR2 except where it comes to line-height. I was able to deal with my headings fine. But I have a pullquote that needs more line-height/leading and though I've read through support and see that it needs to be appl...

The line-height css property does not work in a JEditorPane. Can anyone help?

When I place the following html in a JEditorPane, the line-height attr is not obeyed (the font and color ones are though). Does anyone know what I am doing wrong? I checked the html in firefox and it's fine. <html> <head> <style type="text/css"> p { color:#222222; line-height: 200%; font-family:Tah...

Is there a way to set LineHeight in a Silverlight 4 RichTextBox?

The TextBlock control has LineHeight. Does anyone know a good way to set LineHeight in the RichTextBox Control in Silverlight 4? ...

jquery bug line-height

I try to get line-height of element (this) It's inside a hover() thats why i use $(this)... > var lineHeightThis = $(this).css('line-height'); Setting up that var caused trouble. It seems like it is resetting (this) to "auto" !? I need to do that to reset it. > $(this).css('line-height',lineHeightThis); The overall problem, inste...