SunQuest
 
       Style Sheets
  Home arrow Style Sheets arrow Page 5 - CSS: Backgrounds
IBM developerWorks
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STYLE SHEETS

CSS: Backgrounds
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-03-03

    Table of Contents:
  • CSS: Backgrounds
  • How to Set the Background Color
  • Working with Background Images
  • Positioning the Background Image
  • Text in CSS

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    CSS: Backgrounds - Text in CSS


    (Page 5 of 5 )

    There are many ways in which one can manipulate text with style sheets, and we are going to try to cover most of them in the remainder of this article and the next one. For the moment, let's look at a nifty little table displaying the properties and values we will be discussing:

     

    Name of Property

    What it Does

    Associated Values

    color

    Allows you to set the color of the text

    color

    direction

    Allows you to set the direction in which the text flows

    ltr (left)

    rtl (right)

    line-height

    Allows you to set the distance between your lines

    normal

    number

    length

    %

    letter-spacing

    Allows you to increase or decrease the amount of space between characters

    normal

    length

    text-align

    Allows you to align the text

    center

    justify

    left

    right

    text-decoration

    Allows you to add decorations to your text

    blink

    line-through

    none

    overline

    underline

    text-indent

    Indents the first line of text

    length

    %

    text-transform

    Allows you to control the letters in an element

    capitalize

    lowercase

    none

    uppercase

    white-space

    Allows you to set how the white space within an element is handled

    normal

    nowrap

    pre

    word-spanning

    Allows you to increase or decrease the amount of space between words

    length

    normal

    Well, I tricked you again. Unfortunately there is no time to cover how to work with text in CSS in this tutorial, but I promise you that we will do so in the next tutorial. So drop on by and sit for a spell.

    Till then...


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Thanks for stopping by to read my article on CSS Backgrounds. Here we discuss such...
     

    STYLE SHEETS ARTICLES

    - Creating Gradients for Individual Containers...
    - Creating Gradients for Web Page Headers with...
    - SEO Scrolling Frames Problem Solved
    - Building Cross-Browser Background Effects wi...
    - CSS: Pseudo
    - Using PNG Images to Build Background Effects
    - CSS: Continuing the Clarification of CSS Cla...
    - CSS: Top Secret Classification
    - CSS: Dimensions
    - CSS: Margins and Padding
    - CSS: Crossing the Border
    - CSS: Text, Fonts, and Tables
    - CSS: Working with Text
    - CSS: Backgrounds
    - CSS for the Newbie







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway