Forums

Wow, I can't change the font size in this CSS (3 posts)

  1. kilerb
    Member
    Posted 3 years ago #

    I've read 5 posts and I can't figure this out. I change the color of the font and it switches in a snap. I don't see any font size command in my css sheet. I tried to add a font size line to my css and still no changes. Here's what I have...

    body {
    background: #fff;
    border: solid 2px #565;
    border-bottom: solid 1px #565;
    border-top: solid 3px #565;
    color: #000000;
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    margin: 0;
    padding: 0;
    }

    When I change the color, the body text changes colors... I can't change the size though. What am I doing wrong?

    Thanks very much...

  2. @mercime
    Member
    Posted 3 years ago #

    add this among your other declarations above:
    font-size: 1.2em;
    you can replace 1.2em with 12px or whatever size you want your font to be.

  3. smootie
    Member
    Posted 3 years ago #

    Depends on where you want to change the font size. The main body? Sidebar? You can try what mercime suggested but if the font size is set in the main or sidebar divs, I think it will override what you set in the body.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.