font-size

How to change font size in a pickerview?

I'm fairly new to iPhone programming and am trying to implement a double-component PickerView. At this point the picker works fine in terms of taking user input, created with Interface Builder. However, I need to change the font size to accommodate the text length in each column. I very much would appreciate any link to a straightforward...

JavaScript / jQuery: is it possible to change font-size to fill a set width?

Hello there :) I am writing an application, and in it, I would like to have some h1 elements with variable font size. I use the full width (1000px) of a div as a limiter, and a script that automatically sets the font of the h1-element so that it fits the width of the div without line break. This is quite easy to do with php GD, but I ...

fullCalendar Font size

Hi, I am having issues setting the calendar font sizes to be smaller. I have changed setting a container div font size, no effect. I have also changed the fullCalender.css font from 1em to 0.5em and to a px size but the calendar text stays the same. Is there anything obvious I am missing, sorry to post if this is very obvious but I hav...

AutoFit Label Font Size

For a System.Windows.Forms.Label is there a way to auto-fit the label font size depending on the label size? ...

How do you set the font size on a UIBarButtonItem?

I can't find a way to set the font size of the title in a custom UIBarButtonItem. The only way I can think of getting around this is to set it as an image which I would like to avoid. Any other suggestions? ...

Question about varrying top margin when using custom Fonts on the iPhone.

I am using FontLabel to display varying lengths of texts in a custom font. I size the FontLabel using the following : CGSize size = [myString sizeWithFont:[UIFont systemFontOfSize:[[[UIApplication sharedApplication] delegate] getFontSize]] constrainedToSize:CGSizeMake(290, 4000) lineBreakMode:UILineBreakModeWordWrap...

How is font-size not working here?

Following advice in The 6 Most Important CSS Techniques You Need To Know, I set my body's font-size to 62.5%, the container div's font-size to 1.4 em (slight variation from the article). p.tags and p.published's font-size is set to 1em. However, this doesn't work for me. Both the normal text and text in p.tags and p.published comes out ...

Font alignment problem in webkit based browsers

Here is the code: <style type="text/css"> html, body {font:0.9em/1.2em arial, verdana, helvetica, sans-serif;} #todayOn {background-color:#efefef; repeat-x top left;border-bottom:1px solid #ddd;border-top:1px solid #ddd;height:52px;margin:15px 0;} #todayOn #pageTitle {float:left;padding-left:3px;} #todayOn #pageTitle h2 {col...

The font size doesn't work

Hi, i have this page: http://www.tirengarfio.com/rs2/web/miembros/prueba as you can see the font size is 16px but i have defined a 12px font in the file main.css. I'm using Firefox 3.6. Any idea? Javi ...

font-size/font-family has no effect

This is a related issue to my previous question. I have modified the code suggested for preface headings to modify the p tags underneath the headings. <xsl:template match="topic[title='Preface']/body/section/p"> <fo:block xsl:use-attribute-sets="preface.p"> <xsl:apply-imports/> </fo:block> </xsl:template...

How to get font size in delphi

Hi, I am looking for a function which should take parameters as Font name, sample character, width, height of the sample character and should return Font Size. It must look like this: GetFontSize(<Font Name>, <Sample Character>, <Sample Character Width>, <Sample Character Height>) which must return the font size,...

Visual Studio Font Size (Windows 7)

I've recently installed Windows 7. After opening my old C# project in visual studio I noticed that my buttons are too small (button text doesn't fit). Why did Microsoft increase the standard font size (well, font size is still set to 8, but it's somehow bigger now)? Can I fix it somehow, without correcting all my buttons etc. manually? ...

How to use this EmChart to get perfect font sizes in ems?

What is the purpose of this chart and how to use? http://aloestudios.com/tools/emchart/ ...

CSS different font-size Windows/Linux/Mac

I'm using in CSS: font-family:Arial,Helvetica,"Nimbus Sans L",sans-serif; font-size: 11px; The dimensione of the text in Windows XP/Vista/7 on Firefox/IE/Safari is different from OSx on Firefox/Safari and Ubuntu on Firefox. Anyone know why this happens and has a solution for fixing it? ...

Some font-size's rendered larger on Safari (iPhone)

Are there CSS or other reasons why Safari/iPhone would ignore some font-size settings? On my particular website Safari on the iPhone renders some font-size:13px text larger than font-size:15px text. Does it maybe not support font-size on some elements? ...

How do I specify the default font sizer in CK Editor v3

How do I specify the default font size for CKEditor. I tried changing contents.css (body -> font-size) and I tried changing config.js (config.fontSize_defaultLabel) without any success. Does anyone know where i should be looking? ...

How to determine font size visible to user in IE?

I wonder what would be the best way to catch the font size visible to user in IE. I cannot depend on size related html tags, because they are not inside the html page source code. Somehow I need a way to capture the font visually on browser and determine the font size. What would you suggest for this? ...

SVG & font metrics

Is there any means to get font metrics in SVG? I'd like to get: descent, ascent, max height, advance. I need this for drawing text & graphics together like in flowcharts. For example, I need to draw a box around text, and to draw a connector line from the middle of ex-size(size of letter 'x'), and not from the center of the box side. ...

iPhone Font Size Issue (Does the iPhone arbitrarily increase sizes?)

My iPhone (4) renders 1.8em the same way it renders 1.2em while 0.9em is waaaay smaller. Any idea what would cause this? The sizes work perfectly in all desktop browsers - FF, Chrome, IE, Safari. The iPhone makes my app looks weird because the sizes are not honored. Help? ...

Change default font type/size in TinyMCE

How do you change the default font type and font size in TinyMCE? I'm using the advanced skin and I've changed the body, td, pre style in default/content.css but it still doesn't change. ...