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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Noob CSS Print Question

    I have created a CSS for printing purpouses, however certian font formats will not increase.

    The text I would like to make larger begins with SunMan Engineering offers a wide variety of Mechanical..... So the obvious answer is to increase the font size from 8pt however it will not increase the text im speaking of (ive tried it)

    Heres the link
    http://www.sunmantechnology.com/services_mp.html

    Heres the print.css

    body, p, td, th, ul, a {
    background-color: #fff;
    color: #000;
    font-family: "Arial", arial, serif;
    font-size: 8pt;
    }
    #blkFlashBtn {
    display : none;
    }
    #content {
    background-color: #fff;
    width: 100%;
    border: none;
    }

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    What's the point if you're not going to put a different font size in for us to see what's wrong?

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,274
    Thanks
    28
    Thanked 271 Times in 265 Posts
    Quote Originally Posted by jaime-eduardo View Post
    I have created a CSS for printing purpouses, however certian font formats will not increase.
    Try font-size: 8pt !important;. The declaration is probably being overridden by a more important declaration somewhere.

    Tangential Information

    Quote Originally Posted by jaime-eduardo View Post
    font-family: "Arial", arial, serif;
    font-size: 8pt;

    []

    background-color: #fff;
    • You can condense the font-family and font-size properties into the font shorthand property. Example: font: 8pt "Arial", arial, serif;. The same goes for the background properties: background: #fff or background: white.
    • I would expect "Arial", arial to be redundant due to case‐insensitivity (and unnecessarily verbose due to quotation marks).
    • You may have mis‐declared the generic font family fallback; you are aware that Arial is a sans‐serif font rather than a serif font, right?
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    answer is to increase the font size from 8pt however
    You're just not setting the font size higher than 8pt. How else do you expect it to work? Or have you misphrased the question?

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Here is where that font-size is set btw.
    Code:
    #content p {
    	margin-bottom: 15px;
    	font-size: 11px;
    	color:#666666;
    }
    I'm guessing you didn't code the layout yourself.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Try font-size: 8pt !important;. The declaration is probably being overridden by a more important declaration somewhere.

    That seemed to do the trick... thanks for the help guys,


  •  

    Posting Permissions

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