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 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Cursors not working for PHP generated elements

    The "style cursor:hand" (or whatever cursor I want to use) is not working when I build my table in my php code (echo "<table>...". At one point I was unable to make things like onClick and onMouseOver work in PHP generated HTML code, but I found that moving the javascript functions so they were accessible to the page the HTML elements were eventually rendered fixed that problem (instead of making the javascript functions available to the PHP file - which I eventually realized made no sense). What can I do to make the cursors work?

  • #2
    Regular Coder
    Join Date
    Apr 2007
    Posts
    295
    Thanks
    0
    Thanked 19 Times in 19 Posts
    PHP has nothing to do with CSS not working, so my only guess is that you're generating invalid CSS with PHP code.

    Post the code you're having problems with so we can try and help

  • #3
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Oops. sorry... was just missing a semi-colon in the style string (before the cursor:whatever). thanks.


  •  

    Posting Permissions

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