Jump to content

3 tables - only 1 apply attributes


Recommended Posts

Tables are elements, not attributes.

There are several ways to do that. The most ordinary way would be to add a class to the desired table.

table.special{border:1px solid #444;background-color:#bbb;}
<table class="special"><tr><th></th></tr>[...]

...or you could look at advanced selectors...


Edited by davej
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...