+ Reply to Thread
Results 1 to 3 of 3

Thread: CSS text formatting

  1. #1
    shanto154 is offline New Bee
    Join Date
    Apr 2011
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS text formatting

    Text Color
    The color property is used to set the color of the text. The color can be specified by:
    name - a color name, like "red"
    RGB - an RGB value, like "rgb(255,0,0)"
    Hex - a hex value, like "#ff0000"
    The default color for a page is defined in the body selector.
    Example

    h1 {text-align:center;}
    p.date {text-align:right;}
    p.main {text-align:justify
    shanto154

  2. #2
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    What is your reason for posting this?
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  3. #3
    trab.rim is offline New Bee
    Join Date
    May 2011
    Posts
    10
    WHB Points this Month
    0.00
    WHB Points
    20.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Maybe shanto154 posted in the wrong thread or just want to share his knowledge.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts