Dead Journal Dead Journal Dead Journal




Enter the Crypt
    - OpenID

The Cemetery
    - The Morgue
    - Join the Undead
    - Offerings
    - Download
    - DJ News
    - Advertise on DJ

Morgue Directory
    - Random Grave
    - Place of Death
    - Search Morgue
    - Interests

Botched Murders
    - FAQ
    - Lost Info?
    - Spoon Feeding
    - Hauntings





<keith style="OMG LYKE WTF!!1">Keith Rocks</keith> ([info]keithylishus) wrote in [info]html_help,
@ 2002-09-22 10:18:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
The span and div tags for changing font
In this tutorial, i will desribe how to change the font through use of the <div> and <span> tags.

The <span> tag

<span style="font-family: Verdana; font-size: 16pt; color: #0000FF; font-weight: bold;">This is a large, bold, blue font</span>

Change the Veranda to any font you have on your browser.
Change the 16pt to the size you want you text to be.
Change the #0000FF to any browser supported hex color code (a list of which can be found here.
You can keep the bold bit to make your text bold, or you can take out the whole 'font-weight: bold;' bit.

The <div> tag

<div style="font-family: Verdana; font-size: 16pt; color: #0000FF; font-weight: bold;">This is a large, bold, blue font</div>

That works much the same as the <span> tag. Same attributes.

To learn more about CSS, you can read the Webmonkey tutorials or search the web for "CSS tutorials."

Keith


(Read comments)

Post a comment in response:

From:
( )Anonymous- this user has disabled anonymous posting.
( )OpenID Help
Username:
Password:
Subject:
No HTML allowed in subject
  
Message:

Notice! This user has turned on the option that logs your IP address when posting. This means they will know where you are posting from!

Terms of Service  |   Private Policy  |   Site Options  |   Login/Logout/OpenID

© 2001-2009 DeadJournal, A Service of Warped, Inc. - All Rights Reserved.