Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    getting in then getting back out with previous font settings

    I have this:
    TABLE
    {
    font-size: 1em !important;
    font-family: Tahoma, Verdana, sans-serif;
    border: none;
    }
    inside is :
    #wrapper
    {
    width: 1050px;
    text-align: center;
    background-image: url(images/outergradient.png);
    background-repeat: repeat-x;
    background-attachment: fixed;
    font-size: 0.81em !important;
    }
    followed by:
    #footer
    {
    margin: 0;
    padding: 10px 0px 0px;
    width: 100%;
    text-align: center;
    font-size: 0.71em !important;
    }
    I want to stick content in between #wrapper and #footer which is :
    #article_contents
    {
    width: 250px;
    height: 2px;
    }
    .normal_content
    {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    width: 562px;
    padding-right: 15px;
    height: auto;
    float: left;
    margin-right: 0px;
    margin-top: 0px;
    padding-left: 25px;
    margin-left: -25px;
    font-size: 14px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    line-height: 1.5em;
    }
    PROBLEM: when I get out of .normal_content I need to go back to the font settings I was in at #wrapper in order for #footer to correctly size. Is this something that is possible?

    Thanks in advance.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,475
    Thanks
    6
    Thanked 980 Times in 953 Posts
    You need to apply the same styles to the content that follows .normal_content that you applied to #wrapper. But it sounds like you’re doing something wrong. Got a link to your page?


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •