Results 1 to 7 of 7

Thread: HTML code to CSS?

  1. #1
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation HTML code to CSS?

    i think the topic is correct, i just visit this site, i mean dynamicdrive.com, and i saw lots of beautiwonderful mouse cursors, and i really love it, but.. is there a way to put those code on CSS? cause i have tried it can't there write dont know what put <body>?? what was that! if im not wrong HTML thingy.. so i hope someone out there can help me with this...

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    ... eh?
    You can apply it in CSS by using
    Code:
    cursor: url(path/to/cursor.cur);
    . Is this what you meant?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no.. i mean in CSS editor, it can't add HTML code like <body> or <head>, and now i want is can i add HTML code to CSS?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You can't edit an HTML document tree "on-the-fly" using CSS. For this you would want Javascript.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    err... sorry.. i think you didnt get what i mean.. here.. the easy way, and you can try it out..

    http://www.friendster.com/

    in this site, you can personalize your profile with CSS and share with millions of ppl around the world. after you registered, go to "my profile" --> "edit profile" or when you at your "home" page(in friendster after you logged in) click "edit profile", after "edit profile" then click "customize", and you will see 2 blank box at the page, err.. i dont know how to say after this.. try it and tell me

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Ah, I see. You're in a limited environment in which you can't use unrestricted HTML. I don't believe it's possible to use these scripts. You can apply mouse cursors with the code I've given above, applied to body:
    Code:
    body {
      cursor: url(path/to/cursor.cur);
    }
    but most of the scripts here require you to put things in a specific place in your page, which you can't do. Sorry.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Nov 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ahh.. forget it.. anyway.. thx...

Bookmarks

Posting Permissions

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