FAQ Database Discussion Community


How can I add a fontsize selector in typo3 6.2?

font-size,typo3-6.2.x
I want to add a fontsize selector in typo3 6.2. so I have created the following three files: fontsize_normal.css fontsize_medium.css fontsize_large.css and the relevant typoscript settings looks as follows: config { linkVars = L(0-2) uniqueLinkVars = 1 } obj.fontsize = COA obj.fontsize { 1 = TEXT 1.wrap = <div>|</div> 1.value...

Any idea with font-size of 1.05em/1.2em?

css,styles,font-size
I saw a vid on Youtube and noticed that the font-size of body is 1.05em/1.2em. http://i.stack.imgur.com/KvWbY.png However, I tried this setting like 1.4em/1em vs. 1.4em. It seems to be a little bigger for 1.4em/1em, but there's no difference between 1.4em/1.4em or things like this. Any idea with this kind of...

Windows phone Store app Font size Issue

fonts,windows-runtime,windows-store-apps,windows-phone-8.1,font-size
I have created windows phone 8.1 Store app. I have change setting: setting->ease of access->Text size to MAX Now if I launch my app all fonts are disturbed to too larger font sizes, which was not happening in earlier silverlight apps Is there any way to create app irrespective of...

Changing font size options on WYSIWYG editor?

javascript,jquery,twitter-bootstrap,wysiwyg,font-size
So I have a bootstrap wysiwyg editor from a jqueryscript.net plugin and I'm trying to give more font options in the font size dropdown. So I went into the JS and found the var for it and changed it from like small, medium, large, huge into more precise sizes like...

Change Font Size on rCharts Sankey Diagram

r,font-size,rcharts,sankey-diagram
I'm using the following code to create a Sankey Diagram using rCharts. I wish to increase the font size of the text printed on the Sankey Diagram. I can't find a manual to show me how to do this. Thoughts? rm(list = ls()) require(reshape) require(rCharts) require(rjson) target <- c('TMF', 'TMF',...

how to set different font sizes in the same html header?

html,css,fonts,font-size
I want to create an html header as follows "Version1: (10.3.4) vs Version2: (10.3.4)" and I want the version number be smaller than the words "Version1" and "Version2" how can I do this?...

Limit the amount of times font size can be increased and decreased

javascript,jquery,ruby-on-rails,limit,font-size
In my ruby on rails application I am using the following javascript in the application.js to increase and decrease the text size: function resizeText(multiplier) { var elem = document.getElementById("sizeable"); var currentSize = elem.style.fontSize || 1; elem.style.fontSize = ( parseFloat(currentSize) + (multiplier * 0.2)) + "em"; } And this is called...

Change font size according to user input using Jquery

jquery,css,html5,forms,font-size
I have the following code: <div id="font"> <h2>Font Size</h2> <input type="text" name="font" value="15" /> px <br /><span id="warning"></span> </div> which allows the user to input a font size into the form and the text would change according to what the user puts in, additionally I would like for a warning...

Android EditText setHint's font size dynamically

android,android-edittext,font-size,dynamically-generated
I've been struggling with setting size of hints in my EditText. The hint's font size becomes too large and the layout starts to look horrible! EditText dummy = new EditText(); dummy.setHint("some hint"); How do I dynamically and programmatically change the hint's font size w.r.t my priorly set MAX_HINT_SIZE (in pixels)?...

SVG textpath click radius too high when font-size below 1px

jquery,css,svg,d3.js,font-size
I have created some rivers in D3.js and would like to have them clickable. So I created an example jsfiddle.net/kwoxer/5uc17jwr/19/. There you can see that the mouseover of the rivers are overall fine. But the issue is when the font-size is getting below 1px (e.g. River 9 and River 10)...

What is the default px, pt for font-size :small?

html,css,css3,fonts,font-size
What is the default px, pt for font-size:small ? .navigation li a{ font-weight:400; font-family: "Segoe UI",Segoe,Tahoma,Arial,Verdana,sans-serif; text-decoration:none; **font-size:small;** } ...

IE9 Input and Select zoom issue using EM unit

html,css,internet-explorer,internet-explorer-9,font-size
I have a page, all styles are authored using em unit for sizing. I am facing a strange issue in IE9. I have a requirement to have custom zoom buttons. By clicking on that button, I am increasing the font-size of body. Eg from 1em to 2em and all child...

font size discrepancy between tumblr and hard coded

html,css,font-size
I have an odd issue... When im comparing two elements on a website I have coded on my server compared to a tumblr site I created on their server, there is a 2px font size discrepancy. both sites have this code: <body> <h1>Text</h1> I have no font sizes set anywhere...

JTextPane last line with smaller font size

java,size,line,font-size,jtextpane
I have issue with JTextPane. If I write something to JTextPane on last line, the last line has another size than other previous lines. After pressing ENTER row moves a little up. I figured out, that this behavior is just in case when font size is smaller then 12. Last...

How to change font size in JQuery knob

jquery,canvas,input,font-size,jquery-knob
I have a problem in jQuery Knob plugin.I want to change the font size inside the circle and change the content of the input text.

how to allow the user to change font Swift

swift,font-size
I am building an application that display details and i want to allow user to change font of these details I have done some researches but all of them were to go to device's settings and change the font from there so, is there any way to have similar settings...

How to make font-size relative to parent div?

css,font-size
I want text inside my div to remain same size in % percentage ratio to a parent div. I.E. I want my text to have font-size of 50% of parents div width. So when page size is changing, text always remains the same size in %. Here Is what I'm...

Em Font Sizes not Scaling Up in iOS

ios,css,font-size
I have done this properly in the past but something on this new site I'm building is not properly kicking in. My problem is that when the site is viewed in iPhone (5, which is what I have available to test) portrait mode, the font sizes are staying really small....

iOS7 - Adjusting font size of multiline label to fit its frame

ios,fonts,uilabel,font-size
I need to fit a multiline attributed text in a UILabel's frame. Reading this thread How to adjust font size of label to fit the rectangle? I started from Niels' solution in order to work with attributed text. Here's the code: the 't' of 'prospect' is put in a new...

Why do Font-Size and CssClass properties are not working in CheckBoxList in aspx page?

css,asp.net,fonts,font-size,checkboxlist
I want to increase the font size of checkboxlist values so I added Font-Size = "large" property inside <asp:CheckBoxList> but it's not working. <form id="form1" runat="server"> <table> <tr> <td style="padding-left:50px;padding-top:20px"> <asp:CheckBoxList runat="server" ID="ChkList" RepeatColumns="4" repeatLayout="Table" RepeatDirection="Horizontal" Font-Size="Large"></asp:CheckBoxList> </td> </tr> <tr> <td style="padding-left:50px; padding-top:10px;"> <asp:Button...

click a button to change text font-size of in javascript/css

javascript,jquery,html,css,font-size
To get a clear picture of what i am doing check this example or check the following code This example is to change text size of h1, h2, p. Is there a way in javascript/css that I can change text size of "body" that I can change the whole page...

how to set font-size in bootstrap to show a constant view?

css,twitter-bootstrap,responsive-design,font-size
Im getting started Bootstrap but I have problem by Font-size ! When I set image width , like this : width : 15%; for this HTML code : <div class="container-fluid"> <header class="row"> <div class="col-sm-12"> <section id="top_nav_bar"> <img id="avatar" src="img/header/avatar.jpg" title="آقای شجاعی" /> <span class="yekan">Dr John Green</span> </section> </div> </header> </div>...

Flexbox: text item `font-size: 0' and taking up space

html5,css3,font-size,flexbox
div { display: flex ; font-size: 0 ; justify-content: space-between } div > a { font-size: 10pt } ­ <div> Banana <a>Meat grinder</a> <a>Phone</a> </div> Live Why does the Flexbox text item take up space when its font-size is set to 0? Is there a way around it, e.g. selector...

Font Boosting Issue in Android Lollipop

android,html5,android-5.0-lollipop,font-size
We recently noticed font boosting issue in Android Lollipop OS. If user modifies font size in settings Menu, application is reloading if it is already running and all fonts are modified based on selected font size in device settings. If we are setting below metatag viewport, issue is not exist...

Resizing font based on html length

javascript,jquery,css,font-size
I know there are a lot of similar posts, but I have not thus far been able to solve this. context: User selects a home, homes have unique titles, depending on title, resize font to prevent overflow JS Fiddle: https://jsfiddle.net/9uvpun5o/3/ $(function() { var that = $('#title'), planName = that.html().length ;...

Does iOS Mail block the inline use of “-webkit-text-size-adjust:none;”?

ios,css,html-email,font-size,apple-mail
I am creating a email signature with HTML markup, and to match the design, I have to shrink the font-size property to under 11px, which is the lowest limit put by iOS mail rendering. An article from Campaign Monitor suggested the use of the vendor specific property -webkit-text-size-adjust: none; to...

Is there a way to up-size the font with CSS to fit the screen?

html,css,css3,responsive-design,font-size
I'm thinking about improving the front page of the OpenBSD ports web-site, which lists about 71 categories of the ports. My idea is to use a couple of columns (maybe ul {-moz-columns: 9em;} also with a limit to at most 8 columns at 89em and above, @media (min-width: 89em) {ul...