Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Using JavaScript to fix display issues is usually a bad idea, because if it is turned off, your page breaks. I forget the exact percentage, and it's only an estimate anyway, but it is something like 6-10% of users have browsers set with JS disabled.
It's ok to use JS to alter display if it still looks ok without JS, however, but I don't recommend relying on it with certainty, unless you have a web application which will break without it anyway, in which case you should be alerting your users to turn it on.
|