Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Can't change font size...


  • Please log in to reply

#1
mrdanny

mrdanny

    Member

  • Member
  • PipPip
  • 17 posts
Ok, so im tryin to change the font size, but someone said that <font> is deprecated(or whatever you call it), and ive used this code for css to try and make it work:

<style type="text/css">
p {font-size: 12pt}
</style>

i take it thats not right...

anyway, could someone point me to the code?
  • 0

Advertisements


#2
TaNkZ101

TaNkZ101

    Member

  • Member
  • PipPipPip
  • 327 posts
12px, not 12pt
  • 0

#3
thenotch

thenotch

    Member

  • Retired Staff
  • 668 posts
Actually you CAN use pt to define font size as well as others (ems, %, picas) but I believe px is what you are looking for as well.

Attached Thumbnails

  • Untitled_1.jpg

  • 0

#4
mrdanny

mrdanny

    Member

  • Topic Starter
  • Member
  • PipPip
  • 17 posts
but it doesnt work :whistling:

btw, ive got it in <head> and theres another css snippet in the file to change the scrollbar color...
  • 0

#5
mrdanny

mrdanny

    Member

  • Topic Starter
  • Member
  • PipPip
  • 17 posts
aargh, i cant do anything with tables! Im going to css :whistling:
  • 0

#6
thenotch

thenotch

    Member

  • Retired Staff
  • 668 posts

aargh, i cant do anything with tables! Im going to css :whistling:



Good call... I would suggest creating a stylesheet seperate from the actual HTML document and then placing this command in the <head></head> area of all the documents using that stylesheet:

<link href="default.css" rel="stylesheet" type="text/css" />

(obviously naming "default.css" to whatever you call your stylesheet)...
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP