Question:
In Microsoft Internet Explorer, I can specify a style as
TABLE.listTable { font-size : "10pt"}
and all the cells of the table will have a 10pt font size.
In Netscape, this approach doesn’t work because the font sizes have to be specified for each cell (
classes.listTable.td.fontSize = "10pt"
and add the CLASS=listTable to each
Answer:
You can specify a setting for table cells (TD) elements using a style sheet:
TD { color: red; font-size: larger }
However, you have to be careful of your use of other style and formatting with the table as this can override the TD setting. For instance, not closing a table element, or using nested elements can turn off the global style setting.
For example, define a global style setting using:
and then create a table like this:
| Hello there |
The table contents will show red, with a larger font size, for Netscape Navigator 4.x and up, and IE 4.x and up, in a Windows environment.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.
Related Posts
About Our Editorial Process
At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.
See our full editorial policy.

Gaming Platforms Reaffirm Subscription Fees

Goalkeepers Confront Unpredictable Ball Movement

Leah Stewart Stabilizes, Faces Hand Recovery

AI Insurance Expands Into Disaster Zones
Community Skills Are Rewiring How We Code

How to Choose the Perfect Modern Office Table for Your Workspace

Take-Two Sets GTA VI Price, Date

Apple Defends Competition Amid Antitrust Scrutiny

Nashville Moves To Manage Data Center Boom

Debate Grows Over Long Covid Treatments

Design Leaders Push Reusable Templates

Startup Tests Ocean-Powered Data Centers

SoftBank Launches AI Cybersecurity Service

California Drivers Sue Fuel Retailers Over AI Pricing

Kyiv Hits Crimea Rail Bridge, Power Plant

Networks Promote Curated Headline Feeds

The Engineering Behind a Prop Firm: How Platforms Like OneFunded Are Built to Evaluate, Fund, and Scale Thousands of Traders Simultaneously

What Should Developers Know About Handling User-Uploaded Files Securely?

Tata Electronics Faces Scrutiny Amid Expansion

CNN Promotes ‘5 Things AM’ Briefing

Quantum Computing Promise And Limits Explained

Perplexity Unveils Hybrid Local-Cloud AI

Light Phone Champions Minimal Use Philosophy

Mexico Edges South Korea, Leads Group A
