Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Valid CSS syntax

Status
Not open for further replies.

MrBelfry

IS-IT--Management
May 21, 2003
289
I have a php script that dynamically creates a table. I would like the table rows to have alternate background-colors. I have this working with two styles called style1 and style-1 and was wondering if style-1 was a valid class name or if it worked by accident!

MrBelfry
 
If it works, does it matter?

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top