Click to See Complete Forum and Search --> : Change div title box properties?


ephmynus
08-22-2007, 09:10 AM
Is there anyway I can change the properties of the popup box for <div title=""> through CSS?

bubbisthedog
08-22-2007, 09:33 AM
You would use either server-side logic (such as PHP) or client-side logic (such as JavaScript) to accomplish this task, not CSS.

ephmynus
08-22-2007, 09:56 AM
Thanks, could you possibly point me in the right direction for a PHP solution? I haven't quite found the right terms to search for.

bubbisthedog
08-22-2007, 10:21 AM
Well, I'm not sure how you plan on doing this. Do you have possible title values stored in an array? How are you setting possible title values equal to a variable? In simple terms, you'd set a variable (or array item, etc.) equal to the value that you want, and then just write the value.

$ttl = 'this title value';
echo '<div title=\"$ttl\">';