CSS Notes Page 1

  • BackGround Properties
      <STYLE Type = "Text/CSS>
        <!-- BODY {BackGround-Image:URL("FileName"); BackGround-Position:Top Left} -->
      </STYLE>
                  
    Property Description Values
    BackGround Sets all in one declaration BackGround-Color
    BackGround-Image
    BackGround-Repeat
    BackGround-Attachment
    BackGround-Position
    BackGround-Attachment Sets whether it's fixed Scroll or Fixed
    BackGround-Color Sets BackGround Color Color-RGB
    Color-Hex
    Color-Name
    Color-Tranparent
    BackGround-Position Sets the Starting Position Top Left
    Top Center
    Top Right
    Center Left
    Center Center
    Center Right
    Bottom Left
    Bottom Center
    Bottom Right
    X-% Y-%
    X-pos Y-pos
    BackGround-Repeat If/How Image repeats Repeat
    Repeat-X
    Repeat-Y
    No-Repeat


  • Text Properties
  • Property Description Values
    Color Sets the Color Color
    Direction Sets Text direction LTR or RTL
    Letter-Spacing Increases/Decreases between Normal
    Length
    Text-Align Alignment Left
    Right
    Center
    Justify
    Text-Decoration Adds a decoration None
    Underline
    Overline
    Line-Through
    Blink
    Text-Indent Indents the first line
    of Text in an element
    Length or a %
    Text-Transform Controls the Letters
    in an element
    None
    Capitalize
    UpperCase
    LowerCase
    White-Space Sets how it's handled Normal
    Pre
    NoWrap
    Unicode-Bidi Normal
    Embed
    Bidi-Override
    Word-Spacing Increase/Decrease Spacing
    Between Words
    Normal
    Length
  • Font


  • Property Description Values
    font property for setting all the font attributes font-style
    font-variant
    font-weight
    font-size/line-height
    height
    font-family
    caption
    icon
    menu
    message-box
    small-caption
    status-bar
    font-family list of font family names family-name
    font-size sets the size xx-small
    x-small
    medium
    large
    x-large
    smaller
    larger
    length
    %
    font-size-adjust specifies an aspect value none
    number
    font-stretch condenses or expands the font normal
    wider
    narrower
    ultra-condensed
    extra-condensed
    condensed
    semi-condensed
    semi-expanded
    expanded
    extra-expanded
    utra-expanded
    font-style sets the font style normal
    italic
    font-variant small caps or normal normal
    small-caps
    font-weight sets the weight normal
    bold
    bolder
    lighter
    100 thru 900
  • Borders
  • Property Description Values
    Border Sets them all Border-Width
    Border-Style
    Border-Color
    Border-Bottom Sets bottom border Border-Bottom-Width
    border-Style
    Border-Color
    Border-Bottom:Color Sets the color
    of the bottom border
    Border-Color
    Border-Bottom:Style Sets the Style
    of the bottom border
    Border-Style
    Border-Bottom:Width Sets the Width Thin
    Medium
    Thick
    Length
    Border-Color Sets the color
    of the 4 borders
    ColorName
    Border-Left Sets all properties
    for the left border
    Border-left-width
    Border-Style
    Border-color
    Border-Right Sets all properties
    for the Right border
    Border-Right-width
    Border-Style
    Border-color
    Border-Top Sets all properties
    for the Top border
    Border-Top-width
    Border-Style
    Border-color
    Border-Left Sets all properties
    for the left border
    Border-left-width
    Border-Style
    Border-color
    Border-Style Sets the Style None
    Hidden
    Dotted
    Dashed
    Solid
    Double
    Groove
    Ridge
    Inset
    OutSet
    Border-Width Sets the width Thin
    Medium
    Thick
    Length


  • Margin - defines the space around elements

    Property Description Values
    Margin Sets them all Margin-Top
    Margin-Right
    Margin-Left
    Margin-Bottom
    Margin-Bottom Bottom margin Auto
    Length
    %
    Margin-Left Auto
    Length
    %
    Margin-Right Auto
    Length
    %
    Margin-Top Auto
    Length
    %


  • Padding - Defines padding between element border and content

    Property Description Value
    Padding sets them all Padding-Top
    Padding-Right
    Padding-Left
    Padding-Bottom
    Padding-Top sets Top Padding Length
    %
    Padding-Bottom Length
    %
    Padding-Left Length
    %
    Padding-Right Length
    %


  • List Items


  • Property Description Value
    List-Style Sets all List-Style-Type
    List-Style-Position
    List-Style-Image
    List-Style-Image Sets Image as LI Mark None
    URL
    List-Style-Position Sets Marker in the list Inside
    OutSide
    List-Style-Type Sets LI Marker type None
    Disk
    Circle
    Square
    Decimal
    Decimal-Leading-Zero
    Lower-Roman
    Upper-Roman
    Lower-Alpha
    Upper-Alpha
    Lower-Greek
    Upper-Greek
    Lower-Latin
    Upper-Latin
    Hebrew
    Armenian
    Georgian
    CJK-Ideographic
    Hiragana
    Katakana
    Hiragana-Iroha
    Katakana-Iroha
    Marker-Offset Auto
    Length


  • Dimension Properties


  • Property Description Value
    Line-Height Distance between lines Normal
    Number
    Length
    %
    Max-Height Max Element Height None
    Length
    %
    Max-Width Max Element Width None
    Length
    %
    Min-Height Min Element Height Length
    %
    Min-Width Min Element Width Length
    %
    Width Element Width Auto
    Length
    %


  • Classification

  • Hosted by www.Geocities.ws

    1