Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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
  • 667 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
  • 667 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