Re: PHP/CSS/Javascript question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>Hi all,

Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?

Thanks,
Paul

You don't need to change the CSS (I don't even know if it is possible), but you can change specific styles of any element within the HTML. For example:

document.getElementById('IdOfDivContainingTable').style.display='none';

It is particularly usefull to enclose whichever set of elements that you wish to change into a single entity, a DIV or SPAN, if at all possible.

Styles assigned in this way have precedence over those from a style sheet

Satyam

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux