Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Location
    Coos Bay, Oregon
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help in converting an html code to css

    I got caught off guard the other day. I was about to place a google analytics code on my page when it suddenly changed from an HTML based site to a CSS one. I am not familiar with CSS so I was not able to place the code in. I checked google for custom codes for other languages but there wasn't any info on css. Is it possible to convert the html code to a css one? Anyone out there who can help? I would greatly appreciate it. Thanks!
    Last edited by WA; 06-14-2009 at 06:24 AM.

  • #2
    New Coder
    Join Date
    Apr 2009
    Location
    UK
    Posts
    56
    Thanks
    5
    Thanked 1 Time in 1 Post
    if i'm right in what you are saying, you want to include css in html.

    I would use:
    <style type="text/css">
    .style1 {
    blah: blah;
    }
    </style>

    that can be inserted in a html file

  • #3
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    What you are saying doesn't make sense. All web sites are HTML based. CSS only styled the HTML so more information is needed.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by CF
    Last edited by WA; 06-14-2009 at 10:54 AM..
    That makes some sense?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Tags for this Thread

    Posting Permissions

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