Nov 20, 2009

Basic css code

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Basic css code

stillkill
to create a website in css...you will need to start with the basic code...

/* CSS Document */

Comment/Reply (w/o sign-up)

FirefoxRocks
First of all, you don't create websites with CSS, you style websites with CSS.
As for the "basic code", you could tell that using internal CSS style sheets with your HTML documents is through the use of the style element.
This is how you define an internal style sheet in HTML:
HTML
<style type="text/css">
...some style info here...
</style>

This is how you define an internal style sheet in XHTML:
HTML
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
...some style info here...
/*<!]]>*/-->
</style>


You don't need to learn CSS in a specific order, you learn the properties that you need to use first. Of course you must learn the correct syntax first, which is this:
CODE
tagname {property: value}


So if you want to colour paragraphs blue, you would do this:
CODE
p {color: blue}

Each pair of properties and values are separated by semicolons.

This is basic CSS, there is a lot more out there about CSS, search it for more information.

 

 

 


Comment/Reply (w/o sign-up)

kgd2006
CSS is more commonly used throughout various websites now since it gives the web developer the ability to change attributes of an item globally across various pages. Table website layouts are starting to cease and the use of CSS is now the movement towards the route of web 2.0. CSS is now being supported by various browsers, but as you learn the use of CSS you will learn that each browser renders CSS differently. For example, what renders perfectly in firefox may however end up rendering differently in Internet explorer. Most of the time valid css is rendered perfectly in firefox, but Internet explorer, however, cannot render CSS too well. Certain attributes used in IE can have odd effects. For example, there are certain times issues with the background attribute used in Internet explorer will cause the overlaying object on the background attribute to disappear in internet explorer. This has been an issue with internet explorer and has been discussed ten times over, if you are interested in more information on this odd internet explorer issue just search "dissapearing text in IE with background." The hack that is used to remedy the problem that IE has problems rendering, would be to add the attribute of height equals to 1 percent. This will force IE to display the overlaying element on the background attribute properly. This is one of the many examples of IE bugs that I have came accross as a webdeveloper when building css layouts in IE. Also when you start to go deep into learning CSS you will understand how much the cascading hierarchy is very important, and so you must layout your code in proper coding format, or you will be overwhelmed with CSS issues in big site projects.

Comment/Reply (w/o sign-up)

(G)css
basic css examples
Basic css code

you can see basic css examples at

www.csscentering.Com

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : basic, css, code

  1. The Step Up. A Guide For Myspace Design
    Actual code is included here :) (2)
  2. Code Improvement And Optimization
    A beta service...it's almost free (2)
    I am offering a code improvement, optimization, validation and accessibilities assessment exclusive
    to Astahost members. This is currently not offered at the Trap17 side of the corporation because
    credits there are no use and I now rarely visit at Trap17 anymore. /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Now there are some certain
    things that are not explained on the page so I will explain them here. 1. This code improvement
    service will only be offered to sites that DOES NOT contain racist, hatred, discriminative, criminal
    (wa....
  3. Free Code Snippets And Css Layout
    (14)
    In this site you can find some excellent CSS layouts and code snipets, its very simple but more
    important its very EFFECTIVE. So dont waiste time and visit : Code-Sucks Best regards,....
  4. Home Videos
    html code for home video (4)
    I was wondering if anyone knows how to turn a home video that is saved on your computer to that of a
    html code so I can put it onto my myspace page... Please if anyone at all knows how to do this
    please please help me!!!!....
  5. Blogger Code Problems
    (1)
    If I posted in the wrong forum, please forgive me /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" /> I had troubles determinating where to put this. Anyhow, I
    have recently started a blog at blogger.com (actually it's blogspot.com). One of the main things
    I didn't like was the archive page. It showed whole posts, and I wanted it to show titles as
    links only. So I found a hack, and did everything as it said, but now I have problems. Blogger has
    codes to determine which page will use that part of the code. In order to define the a....
  6. To Hide Your Source Code
    all you need to know to hide your source code.. (18)
    protect your source code! follow these easy 5 steps: Copied from
    http://www.cgiscript.net/cgi-script/csNews...wone&id=19&op=t QUOTE Step 1: let's assume
    your main page is named index.htm. Rename index.htm to encrypt.htm. Step 2: open encrypt.htm
    source code and add the code below to the file, right after the opening BODY tag. CODE
    m='%3Cscript%20language%3DJavaScript%3E%3C%21--%0D%0A%0D%0Avar%20message%3D%22Function%20Disable
    d%21%22%3B%0D%0A%0D%0Afunction%20clickIE%28%29%20%20%7Bif%20%28document.all%29%20%7Balert%28message%
    29%3Breturn%20false%3....
  7. I Need Help With A Code: Myspace Profile Css
    (5)
    Ok, I made this background for myspace, but it wants to tile itself and all that jazz.. the image is
    800x600 cuz i know most users have that setting. anyhoo im sure there is a html tag out there
    somewhere to keep an image fixed and resized depending on resolution.. but then again i could be
    wrong haha.. come to think of it i probably am wrong but i thought i would ask you all if you knew
    of a code that would do that... here is my profile page for reference: Myspace Page anyhelp is
    greatly appreciated.. i may just wind up fading the edges of the pic into black and cen....
  8. Free Shoutbox? HTML, Flash or PHP Code
    (25)
    does anyone know where i can find a free shoubox thats customisable? it can be in html, php or flash
    format. thanks in advance paul....
  9. Jscript/html/css Code Help
    irritating gaps in spliced image (8)
    Here is a link to one of the pages i am designing for my parents business website. all the other
    pages - except the main page - are just imagemaps. this page and the main are spliced images - the
    main contains a iframe blog - but in this one in xp/ ie and firefox/ all the images are pulled apart
    the idea for the page is that the user mouse-over's the cartons and the blank box of grass in
    the bottom has the details of the product printed in it. i am totally able to git rid of the
    splicing if nessisary and use div's but i cant figure how. could someone help me s....
  10. Simple Java Script Code For Print Pages
    (0)
    A simple java script code for printing your website pages just copy and paste below code on your
    pages you can use image or text instead of button. Print screen button function
    varitext(text){ text=document print(text) } // End --> onclick="varitext()">
    be successful ! Soleimanian....
  11. Code To Send An Email From A Form
    (10)
    HTML form action=" http://www.bool.co.il/cgi-bin/bu.cgi?page=send2friend&id=8006 " method="
    post "> font face=" Arial "> input type=" text " name=" sender "> /font > the sender: br > input
    type=" text " name=" sender_email "> sender's mail: br > font face=" Arial (hebrew) "> input
    type=" text " name=" receiver "> /font > to: br > input type=" text " name=" receiver_email ">
    email Of receives the announcement: br > font face=" Arial (hebrew) "> input type=" text " name="
    subject "> /font > the subject: br > input type=" submit " value=" send "> /....
  12. Basic XML code
    (3)
    you will need to start with..... ....
  13. Hex Color codes
    a list of colors in code (6)
    I have here compiled a list of colors in Hexidecimal code. I have listed them in alphabetical order.
    I put them in three different files so ill put them in three posts. A-D, F-M, N-Y, dont worry i know
    my alphabet, their are just no colors starting with E etc. A-D Aliceblue-F0F8FF
    Antiquewhite-FAEBD7 Aqua-00FFFF Aquamarine-7FFFD4 Azure-F0FFFF Beige-F5F5DC Bisque-FFE4C4
    Black-000000 Blanchedalmond-FFEBCD Blue-0000FF Blueviolet-8A2BE2 Brown-A52A2A Burlywood-DEB887
    Cadetblue-5F9EA0 Chartreuse-7FFF00 Chocolate-D2691E Coral-FF7F50 Cornflowerblue-6495ED Cornsilk-F....

    1. Looking for basic, css, code

See Also,

*SIMILAR VIDEOS*
Searching Video's for basic, css, code
advertisement



Basic css code

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com