youngros Posted September 15, 2009 Report Share Posted September 15, 2009 How do I set the CSS for different types of tables on the same website? This is a legit use of tables as I'm displaying data from a weather station, but I'm having a few problems especially as I'm using CSS to style the tables and it's a bit of a learning curve. Quote Link to comment Share on other sites More sharing options...
Andrea Posted September 15, 2009 Report Share Posted September 15, 2009 Give each table a different ID. Quote Link to comment Share on other sites More sharing options...
virtual Posted September 15, 2009 Report Share Posted September 15, 2009 Give each table a different class and style each one accordingly http://www.ca ptain.at/ho wto-css-style-table.php Quote Link to comment Share on other sites More sharing options...
youngros Posted September 15, 2009 Author Report Share Posted September 15, 2009 I tried to do that, but think it is my lack of understanding of adding class to the tables that went wrong. Did try a separate style sheet to include in the page, but that wasn't that successful. Will have another go. Quote Link to comment Share on other sites More sharing options...
youngros Posted September 15, 2009 Author Report Share Posted September 15, 2009 Thanks for that Virtual, will bookmark it and take a closer look. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.