www.webdeveloper.com
Results 1 to 8 of 8

Thread: how to create css file?

Hybrid View

  1. #1
    Join Date
    Sep 2013
    Posts
    1

    how to create css file?

    hai,

    how to create css file?

  2. #2
    Join Date
    Aug 2013
    Posts
    6

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217

  4. #4
    Join Date
    Aug 2013
    Location
    Los Angeles,USA
    Posts
    3
    First you should take text file saved into .css extension like for example text.css than one css path will be there <link href="text.css" type="text/css" rel="stylesheet"/> put this path into html page inside head tag.

  5. #5
    Join Date
    Mar 2012
    Posts
    1,729
    I'd suggest embedding the css code in the html file to start with, as in the following outline...

    <html>
    <head>
    -- put meta code here ---
    <style>
    --- put css code here ---
    </style>
    </head>
    <body>
    --- put html code here ---
    </body>
    </html>

    Then transfer the css code to an external file and link it as suggested above.

  6. #6
    Join Date
    Sep 2013
    Posts
    221
    The below link will help you to understand css and all its functionality.

    http://www.w3schools.com/css/css_intro.asp

  7. #7
    Join Date
    Aug 2013
    Location
    CA
    Posts
    16
    Hi, This is simple and also depends on your Editor. This is what you do. In the same way you created your "index.html" file then all you do i make a css file by clicking on "save As" and then in the box that names the file before you finish saving your file you just type this in.

    style.css then it saves as a .CSS file ok.

    in the same way you created your "index.html" you creat your "style.css" its all down to the last letters after the .DOT ok that makes a file what it is.

    Hope this helps!!

  8. #8
    Join Date
    Sep 2013
    Posts
    2
    well open a notepad document and then save it as (filename.css) and chosse all files in the dropdown below the title text box and save it and then you are done now just add css text into the file.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles