Pradeep_Chinna Posted August 11, 2013 Share Posted August 11, 2013 php: ...bla bla bla.... echo "<tr class=\"top bottom row\"> // This is perfectly wrong declaration. please tel me what is actually correct one to declare multiple css class names here ?? // <td>Date</td> <td>Name</td> <td>Purpose</td> </tr> "; CSS: tr.top td { border-top: thin solid blue; } tr.bottom td { border-bottom: thin solid green; } tr.row td:first-child { border-left: thin solid red; } tr.row td:last-child { border-right: thin solid black; } please help me out... in Advance, Thank you. Link to comment https://forums.phpfreaks.com/topic/281036-how-to-write-multiple-css-class-names-in-single-echo/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.