SitePoint Sponsor

User Tag List

Results 1 to 20 of 20
  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, you click with you mouse in a text area (like the one I used to type this message) there is a little blinking thingy that says where the text will be typed. Is there a way to change the color of this thingy with CSS ?

    Thanks guys,

  2. #2
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no way!!

    thats way too advanced....
    why do you want to do that for anyway?

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there are certain things that is doesn't make sense to mess with. That is one of those things (IMO). People start to panic if they can't see the cursor in a text field.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LOL Precisely.
    argh....maybe thats why IE rules over netscape in terms of the customisation of useless elements. ( They don't affect your business on the web do they? )

    Most Important: Be Practical.

    I think the above 2 words explains it all.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  5. #5
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, if I want to modify this blinking cursor its because my text area is dark, and I'd like to make it white so people won't miss it.

  6. #6
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay. I think I get you. ( Did I? )
    You set the background to be black for example, so now you want to set the cursor and text to be white?
    try specifying the color attribute.

    color : #FFFFFF;
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  7. #7
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, sure the text gets white, but not the cursor

  8. #8
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh..hmm...I don't think its possible then...Not that I know
    Sorry
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  9. #9
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you don't really need to worry about the cursor being the same colour as the background...

    the cursor will always be the opposite colour of the background, so it will always be seen. set the background to black and the cursor will be white. try and see.

  10. #10
    One website at a time mmj's Avatar
    Join Date
    Feb 2001
    Location
    Melbourne Australia
    Posts
    6,282
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    speaking of which, occasionally I come across a site that has customised scroll bar colours.

    Reputable popular sites, but I can hardly find the scrollbar. If there's one thing that is important, it is to have the basic elements in a colour that is expected, to avoid confusion.

  11. #11
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by lynlimz
    argh....maybe thats why IE rules over netscape in terms of the customisation of useless elements. ( They don't affect your business on the web do they? )

    Most Important: Be Practical.

    I think the above 2 words explains it all.
    Just quoting myself :P
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  12. #12
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I agree. I was just thinking about coloured scroll bars when I got to your post! I think some basic input/interface widgets need to remain at their basic element and text input boxes and scroll bars are examples of these.

  13. #13
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    YEP

    Sometimes, Its rather annoying to the eyes..
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  14. #14
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    weird...I was a site that had clear text fields...it was an amazing effect...let me see it I can find the site

    brb

    ok...here is the site:
    http://plusoneangels.cjb.net/

    Click Enter...then at the drop-down menu, select Join...you will see what I am talking about. It took me about 20 minutes to sort through the code enough to get to the source for that page. She has the "no right click" script and its in frames, PLUS it's one of those weird hosting companies where they make it very difficult to get to the real URL.

    Anywa...check it out and let me know what you think. It is intriguing, but practical? I don't know about that one.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  15. #15
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by lynlimz


    Just quoting myself :P
    i seem to remember saying that not long ago

    btw... creole, tt transparency was actually an accidental mistake.
    if you see the css style...
    input, textarea { background: 66699cc;

    there are 7 numbers there. it was probably meant to be 6699cc, but when you make an error there it ignores the value, and it becomes { background: ; }, which is a transparent effect... in ie only, as far as i know.

    btw, don't you have a "right-click menu" button on your keyboard?

  16. #16
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As boredboi said there does seem to be a problem with the css of the input tag. However, there is a standard way of applying a transparent background colour:

    Code:
    style="background-color: transparent"

  17. #17
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by boredboi

    i seem to remember saying that not long ago
    oh geez..which post? dang
    i'll edit it if you want..dun wanna infringe a copyright =)
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  18. #18
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shane...thansk for that tup. I didn't even know you could do transparency...I guess I would not have even thought it could be so.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  19. #19
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by lynlimz


    oh geez..which post? dang
    i'll edit it if you want..dun wanna infringe a copyright =)
    http://www.sitepointforums.com/showt...threadid=18502

    hahaha.... i'll sue ya for it....

    lol. this is so dumb.

  20. #20
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LOL
    Well..We both singaporeans
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


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
  •