Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links


How to design font size in CSS

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 23-02-2010
Member
 
Join Date: Feb 2010
Posts: 570
How to design font size in CSS

Sponsored Links
Hi all,

I am using CSS in web design. I want to set the font length - horizontal and vertical dimensions. Need the length of a value, and may include an optional plus (+) or minus (-) sign character. In addition, the numeric value may be an optional unit identifier. Please suggest that how to design font size in CSS. Thanks in advance.

Reply With Quote
  #2  
Old 23-02-2010
Modifier's Avatar
Member
 
Join Date: Jan 2008
Posts: 1,507
How to design font size in CSS

You need to define em: the element's font height. It is with the use of the font element font-size property equal to the calculated values. When it appears in the font size of the property value itself, when, there will be an exception, when it refers to the parent elements font size. ex (x-height): CSS specification describes it as lowercase letters x height. Check and reply.
Reply With Quote
  #3  
Old 23-02-2010
MindSpace's Avatar
Member
 
Join Date: Feb 2008
Posts: 1,839
How to design font size in CSS

You can also use px (pixels): It is with the background or the relevant resolution of the screen. According to Monitors Resolution of the output of different pixels, due to the user's preference is different from the display resolution may be very different. The following are valid absolute unit identifiers:
HTML Code:
in (inches)
cm (centimeters)
mm (mm)
pt (points, 1 point = 1 / 72 inch)
pc (12 Dian movable type, 1pc = 12 points)
Check and reply.
Reply With Quote
  #4  
Old 23-02-2010
opaper's Avatar
Member
 
Join Date: May 2008
Posts: 2,371
How to design font size in CSS

Measurement of the absolute size of the other way is to use to measure the proportion of the value of a factor, by the following keywords: smallest, small, small, medium, large, large, and the smallest. For the base value, minus a factor on the smaller, bigger is increased by one factor, and so on. CSS specification defines the ratio factor of 1.2, this value may change according to the browser. Check and reply.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 23-02-2010
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,381
Re: How to design font size in CSS

Percentage of the value can also be used to format text. The percentage of value is an optional tag that the figures with a percent sign (%). Percentage values are always proportional to another value. The font for its part, with the Web page into a certain percentage of the basic font size. Check this tag with your own cod and reply. All the best.
Reply With Quote
  #6  
Old 23-02-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,278
How to design font size in CSS

As you can see, there are many ways to be completed by rendering the text of this seemingly simple task. The following HTML formatted text in the paragraph element applications, a variety of unit identifier. In which all values are equal, and assuming 72dpi for display. Check and reply.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to design font size in CSS"
Thread Thread Starter Forum Replies Last Post
Font size Bullfrog Windows Software 4 17-11-2009 06:36 PM
Internet font size too big DMA2Superman Technology & Internet 3 26-05-2009 07:38 PM
Customizing subtitle font size HP_Crook Customize Desktop 3 03-04-2009 02:24 PM
Lower font size/DPI bowyerte Vista Help 3 29-03-2009 02:57 AM
Font & font size changed for menu box!! got2balls Customize Desktop 5 20-03-2009 06:35 PM


All times are GMT +5.5. The time now is 12:20 AM.