MMOCoin

Likes Likes:  0
Results 1 to 5 of 5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Scout

    Join Date
    Jan 2010
    Posts
    27
    Post Thanks / Like
    Rep Power
    17
    Reputation
    19
    CSS Classes and ID


    CSS is made of primarily two main types, ID's and Classes. These are the connection between the HTML and CSS. To differentiate between ID's and classes, a period is used before the class name, and a number sign before the ID name. Below are two examples that should be added to the CSS area of your script.



    HTML Code:
    .classname
    #idname
    Now, to allow the ID and class properties to work in HTML, we must add...

    HTML Code:
    class="classname" id="idname"
    The codes above are to be added to an HTML element. And example of which is below.
    HTML Code:
    <div class="classname">Text here</div>
    For more CSS property help, here is a great website to use. Click here

    I hope this tutorial helps newcomers and users new to HTML and CSS. If you have any questions, Personal Message me, or post a comment.



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

  3. #2
    Beginner

    Join Date
    Oct 2009
    Posts
    1
    Post Thanks / Like
    Rep Power
    17
    Reputation
    1
    Awesome Tutorial ;D

    I wonder if you could make a tutorial about classes, from PSD to HTML and such x)

    Thanks on advantage ;D

 

 

Posting Permissions

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