SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: CSS Help

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Ohio
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <!--
    body {font-family: "Verdana"; font-size: "9pt";}
    -->

    Apparently this dosen't make all text on a page 9pt. How would I do that?

  2. #2
    I am the night... bman's Avatar
    Join Date
    Mar 2001
    Location
    In a van... down by the river.
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hmmm..

    i think you need to get rid or the quotation marks
    <!--
    body {font-family: Verdana; font-size: 9pt;}
    -->
    Some say the world will end in fire, Some say in ice.
    From what I've tasted of desire
    I hold with those who favor fire.

  3. #3
    SitePoint Guru
    Join Date
    Jul 2000
    Location
    Long Island, NY
    Posts
    755
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't you have to set that up by page element? Like p { font-family: "Verdana"; font-size: "9pt";} would apply it in all the paragraphs, then something for h1, h2, etc.? If someone who knows comes along and says that's right, then my question would be do you need to do that separately for things like ul, or ol's? Or do they count as being within a paragraph?

  4. #4
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okie
    by doing that, all 'naked' code in the <body> tags will take that style
    however, when you create a table in that code for example, it won't tkae that body style.

    hence you must add table,td to your code.

    eg. table,td,body { font-family: verdana; }

    get it?
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  5. #5
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Ohio
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by lynlimz

    table,td,body { font-family: verdana; }

    That did it. Thanks.

  6. #6
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    np
    you may want to add future tags to share the same settings. =)
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  7. #7
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hehe...you beat me to it this time Lyon...
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  8. #8
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha! lol
    btw..for the past few days, i hardly posted as i could never load past the header of this forum.
    sitepoint.com loaded fine to me..weird..

    but its alrigyht now
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


Bookmarks

Posting Permissions

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