robin105 Posted July 17, 2007 Share Posted July 17, 2007 Hey guys I am trying to make a border for my table and I am using this script ... table {border: 1px solid #fff; background:#2A2A2A;} but this only borders the surrounding border :S like the "TABLE" only ... I want it to border the TD and TR also how can I do this ? Much thanks for looking . Link to comment Share on other sites More sharing options...
justsomeguy Posted July 17, 2007 Share Posted July 17, 2007 You need to add rules for the other elements. A rule for table only affects the table, not the tr or td elements. You can use rules for them as well: table tr {}table td {} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.