45 users online (0 members and 45 guests)  


  Results 1 to 2 of 2

Related

  1. Font size with in Text box    Forum: HTML Forum
    Replies: 1
  2. Font Size/Font Face    Forum: CSS Forum
    Replies: 4
  3. Font Size/Font Face    Forum: HTML Forum
    Replies: 2
  4. font size    Forum: HTML Forum
    Replies: 2
  1. #1
    althegud1srtaken's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    8

    cant set font size in footer

    i've successfully set the fonts in all the other div sections, but the footer font is stuck on 15, i can't figure out why. any ideas? here's the css file:
    Code:
    /*--background for entire site, spans vertically--*/
    body {
        background: #999 url("./images/body-bg2.gif") 50% 0 repeat-y;
        margin:0 auto;
    }
    
    /*--banner across top of page, spans horizontally--*/
    #header {
        text-align:center;
        position:relative;
        width:100%;
        height:104px;
        background:#ffffff url("./images/header-bg.gif") repeat-x top left;
        padding:0;
        margin:0 auto;
    }
    
    /*--menu portion of banner across top of page, spans horizontally--*/
    #menu {
        text-align:center;
        margin:0 auto;
        width:100%;
        border-top:3px solid #ffffff;
        border-bottom:3px solid #ffffff;
        height:37px;
        line-height:37px;
        background:#ffcc00 url("./images/menu-bg.gif") repeat-x top left;
    }
    
    #menu a {
        font-size:17px;
        padding:3px;
        text-decoration:none;
        color:#000000;
    }
    
    #menu a:hover {
        background:#000000;
        color:#ffcc00;
    }
    
    /*-------------------------------------------------------------------------------------------------
    set up the body of the page.  left is grey left panel, main holds the primary content of the page,
    and specials is the light grey panel to the right with specials on it, unique to this page (note
    other css file for other pages), and right is the grey panel to the right.
    -------------------------------------------------------------------------------------------------*/
    
    #container {margin:0 auto;width:890px;text-align:left;font-size:12px;}
        #left {width:62px;float:left;background-color: #999999;}
    
        #main {width:585px;float:left;background-color: #ffffff;border-left:3px solid #ffffff;}
    
        #specials {width:175px;float:left;background-color: #d2d2d2;border-right:3px solid #ffffff;}
        
        #right {width:62px;float:left;background-color: #999999;}
        
    #footer {
        margin-left:63px;
        position:absolute;
        width:760px;
        font-size:11px;
        bottom:0;
    }

  2. #2
    althegud1srtaken's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2007
    Posts
    8

    Re: cant set font size in footer

    i fixed it by adding
    Code:
    p.footer {font-size:11px;}
    to the css file, and a few lines of html, but now i'm noticing that the content of the page and the footer can overlap if the window isn't big enough, any tips?



Tags for this Thread