Results 1 to 6 of 6

Thread: How to design font size in CSS

  1. #1
    Join Date
    Feb 2010
    Posts
    570

    How to design font size in CSS

    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    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.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    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.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    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.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    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.

  6. #6
    Join Date
    May 2008
    Posts
    2,297

    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.

Similar Threads

  1. Font size
    By Bullfrog in forum Windows Software
    Replies: 4
    Last Post: 17-11-2009, 07:36 PM
  2. Internet font size too big
    By DMA2Superman in forum Technology & Internet
    Replies: 3
    Last Post: 26-05-2009, 07:38 PM
  3. Customizing subtitle font size
    By HP_Crook in forum Customize Desktop
    Replies: 3
    Last Post: 03-04-2009, 02:24 PM
  4. Lower font size/DPI
    By bowyerte in forum Vista Help
    Replies: 3
    Last Post: 29-03-2009, 02:57 AM
  5. Font & font size changed for menu box!!
    By got2balls in forum Customize Desktop
    Replies: 5
    Last Post: 20-03-2009, 06:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,311,863.35513 seconds with 17 queries