SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS For <FORM>'s not working

    Hi all,

    can anyone tell me if the following is meant to work in IE.

    I have tried it but my controls don't seem to be going white when select/in focus.

    Code:
    select.selected, input.selected, textarea.selected { background-color: #FFFFFF; }
    Thanks

    Trystan Hughes

  2. #2
    SitePoint Wizard Dangermouse's Avatar
    Join Date
    Oct 2003
    Posts
    1,024
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe its input:focus etc, but doesnt work in IE.

  3. #3
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I seem to have it to work now, but only after using some extensive JavaScipt

    Thanks

    Tryst

  4. #4
    SitePoint Wizard Dangermouse's Avatar
    Join Date
    Oct 2003
    Posts
    1,024
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use this on my website, http://www.vanillamail.co.uk/cssfocusandhover.htc to fix IE.

    Stick
    Code:
    body { behaviour: url(cssfocusandhover.htc); }
    in your style sheet

  5. #5
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    What is a .htc file anyway?

    Tryst

  6. #6
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have uncluded that file and the CSS statement in my .css file and nothing happens :-s

    What exactly is it meant to do?

    Thanks

    Tryst


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
  •