I need colour!

Discussion in 'Computer Science & Culture' started by Dearprudence, Jan 12, 2004.

Thread Status:
Not open for further replies.
  1. (can't delete topic)
    Last edited by a moderator: Feb 4, 2004
  2. Google AdSense Guest Advertisement

    to hide all adverts.
  3. Ender Registered Senior Member

    < Body Bgcolor="######" Text="######" Link="######" Vlink="######">
  4. Google AdSense Guest Advertisement

    to hide all adverts.
  5. curioucity Unbelievable and odd Registered Senior Member

    And to add, even though I'm not sure what it does, is this

  6. Google AdSense Guest Advertisement

    to hide all adverts.
  7. one_raven God is a Chinese Whisper Valued Senior Member

    alink is your currently active link.
  8. Stryder Keeper of "good" ideas. Valued Senior Member

    CSS or Cascading Style Sheets isn't apart of the original HTML language, but something else that is used in addition.

    The stylesheet can even be placed into a seperate .txt file and then linked by the relevant tag to allow text to be altered, or the CSS information can be placed into the HTML in a relevant TAG.

    It's even possible to place styles directly into any HTML tag through the use of it's STYLE element.

    example of a stylesheet:

    Any HTML files that use this sheet would require the following:
    (Note that there are spaces have been inserted after the < and before the >
    as the completed tags kept malforming the post)
    ...< HEAD >
    < LINK HREF="Http://www.chatsoba.com/chatsoba.css" 
        REL="stylesheet" TYPE="text/css" >
    < TITLE >...
    If you were to imbed the stylesheet within the HTML directly (So you don't have an external file)

    < STYLE TYPE="text/css" >
    A:link { color:#00FF00 ; }
    A:visited { color:#033333 }
    A:hover { color: white  }
    A:active { color:#004000 }
    .Sm {color:=green }
    < /STYLE >
    That btw will change Anchors in a document.

    Both of those examples need you to identify what elements within the document are effect. Where you can either use CLASS or ID to identify the element. (ID is for a single element, CLASS is for a number of elements)

    The following ties in with the above code:
    < P ALIGN="RIGHT" CLASS="Sm">Hi< /P >
    Lastly it's possible to do away with adding a stylesheet or style entry all together, although if compiled for a large number of entries, your better off with the above methods.

    < P STYLE="color:green;background:red;text-decoration:overlined:font-family:Arial">Hi again< /P >
    I doubt these examples will be that helpful without a bit more understanding, so you could try:

    http://www.w3.org/Style/CSS/learning (This takes a while to load as it's alot and in use alot)

    http://www.dynamicdeezign.com/css/index.html (this is a goodone)
Thread Status:
Not open for further replies.

Share This Page