Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 8 of 8

Thread: [Quick Tut] CSS

  1. #1
    Sergeant

    Join Date
    Jul 2008
    Posts
    52
    Post Thanks / Like
    Rep Power
    16
    Reputation
    27

    [Quick Tut] CSS


    Register to remove this ad
    I FOUND THIS ON THE NET AND THOUGHT I OUGHT TO SHARE AND CONTRIBUTE TO THIS SECTION.

    Source:CSS Quick Tutorial
    __________________________________________________ _______________________

    A style sheet is made up of style rules that tell a browser how to present a document. There are various ways of linking these style rules to your HTML documents, but the simplest method for starting out is to use HTML's STYLE element. This element is placed in the document HEAD, and it contains the style rules for the page.

    Note that while the STYLE element is a good method of experimenting with style sheets, it has disadvantages that should be considered before one uses this method in practice. The advantages and disadvantages of the various methods are discussed in the section on linking style sheets to HTML.

    Each rule is made up of a selector--usually an HTML element such as BODY, P, or EM--and the style to be applied to the selector.

    There are numerous properties that may be defined for an element. Each property takes a value, which together with the property describes how the selector should be presented.

    Style rules are formed as follows:


    Code:
      selector { property: value }

    Multiple style declarations for a single selector may be separated by a semicolon:


    Code:
    selector { property1: value1; property2: value2 }
    As an example, the following code segment defines the color and font-sizeH1 properties for H1 and H2 elements:

    Code:
    <HEAD>
    <TITLE>CSS Example</TITLE>
    <STYLE TYPE="text/css">
      H1 { font-size: x-large; color: red }
      H2 { font-size: large; color: blue }
    </STYLE>
    </HEAD>
    The above style sheet tells the browser to show level-one headings in an extra-large, red font, and to show level-two headings in a large, blue font. The CSS1 Specification formally defines all properties and values available. The properties and values are also given in the CSS Properties section of this site.

    This tutorial is intended as a very basic introduction to Cascading Style Sheets and should provide enough information to allow you to experiment with a few of your own styles. For a more in-depth look at Cascading Style Sheets, read the following sections:


    › See More: [Quick Tut] CSS

  2. #2
    Beginner

    Join Date
    Jul 2008
    Posts
    12
    Post Thanks / Like
    Rep Power
    16
    Reputation
    3
    That's a really simple one. If possible, you should add some more examples, and more properties. E.g. backgrounds, padding, margin, position, height, width, etc.

    But still, keep it up. ^^

  3. #3
    Sergeant

    Join Date
    Jul 2008
    Posts
    52
    Post Thanks / Like
    Rep Power
    16
    Reputation
    27
    I used to have old forums filled with HTML/CSS stuff, but I can't find the guides anymore that I used to have : /

  4. #4
    Succy
    Guest
    Haha, This one is nice... Would like to see more coming:P

  5. #5
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    18
    Reputation
    188
    Very nice aero

  6. #6
    Sergeant

    Join Date
    Jul 2008
    Posts
    52
    Post Thanks / Like
    Rep Power
    16
    Reputation
    27
    So people would like more CSS or HTML Tuts? Tell me which ones. I might continue a whole CSS Guide Compilation.

  7. #7
    Beginner

    Join Date
    Jul 2008
    Posts
    12
    Post Thanks / Like
    Rep Power
    16
    Reputation
    3
    Start by the base point of webdevelopment - HTML. ^^

  8. #8
    Scout
    DoPeT's Avatar
    Join Date
    Jan 2010
    Location
    FileTouch.com
    Posts
    27
    Post Thanks / Like
    Rep Power
    15
    Reputation
    15

    Register to remove this ad
    Pretty nice tut




  9. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 03:12 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org