Initially, I assumed that setting the global font-size of all td's would be a simple task. However, I am having trouble finding a solution. In my existing stylesheet, I have defined the font-size for all td's.
td {
font-size: 20px;
}
My goal is to dynamically adjust the font size of td elements based on the type of device using javascript. Specifically, I want to increase the font size for mobile devices. I have successfully implemented device detection logic. Is there a way to programmatically set the global font size for td elements?