any body can help me to enlarge font size in css

Discussion in 'CSS' started by thebestsolve.com, Jun 9, 2007.

  1. #1
    any body can help me to enlarge font size in css when i add it to

    front page i cann't maxmize font any one has ideas


    :confused:
     
    thebestsolve.com, Jun 9, 2007 IP
  2. hasbehas

    hasbehas Well-Known Member

    Messages:
    726
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    190
    #2
    There are a couple of ways to to it.

    
    .titletext1{
    font:65px Arial;
    font-weight: bold;
    color: #800000;
    }
    
    Code (markup):
    or

    
    h1{
    font-family: "Trebuchet MS";
    font-size: 350%;
    color: #800000;
    }
    
    Code (markup):

    try it..
     
    hasbehas, Jun 9, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't recommend that actually. What I do is set the font size and leading (that's "line-height" in CSS parlance) on the body to 100% and 1.5 respectively, then I'll use EMs (usually in 0.5 increments) to increase or decrease the size of a text block's container.

    What does the HTML and CSS for your page look like?
     
    Dan Schulz, Jun 9, 2007 IP