inkychris Posted November 14, 2010 Share Posted November 14, 2010 Im trying to have a table with this style:.banner table { border-collapse:collapse; } table, th, td { border: 0px; width:1000px; background-color:#404040; } And then have a different table to use this style:.body { border-collapse:collapse; } table,th,td { border: 5px solid #404040; width:990px; background-color:#404040; text-align:justify; }I do the <table class="body"> and the other one with banner however the table classed with banner uses the body one. How do I make them use different ones?Thanks. Link to comment Share on other sites More sharing options...
dsonesuk Posted November 14, 2010 Share Posted November 14, 2010 table.banner{border-collapse:collapse;}.banner, .banner th, .banner td{border: 0px;width:1000px;background-color:#404040;} table.body{border-collapse:collapse;}.body, .body th, .body td{border: 5px solid #404040;width:990px;background-color:#404040;text-align:justify;} Link to comment Share on other sites More sharing options...
inkychris Posted November 14, 2010 Author Share Posted November 14, 2010 Thank you SO much! been trying to do this for ages, very much apreciated.Thanks again!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.