<!--
body {font-family: "Verdana"; font-size: "9pt";}
-->
Apparently this dosen't make all text on a page 9pt. How would I do that?
| SitePoint Sponsor |

<!--
body {font-family: "Verdana"; font-size: "9pt";}
-->
Apparently this dosen't make all text on a page 9pt. How would I do that?


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.




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?





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

That did it. Thanks.Originally posted by lynlimz
table,td,body { font-family: verdana; }





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





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





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