...

View Full Version : Cursors not working for PHP generated elements



snoodle
06-03-2007, 12:01 AM
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?

mr e
06-03-2007, 12:21 AM
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

snoodle
06-03-2007, 12:31 AM
Oops. sorry... was just missing a semi-colon in the style string (before the cursor:whatever). thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum