/************************************************************** * Auteur : Jean-Philippe Morin * Date Création : 29 Mars 2006 * Date Modification : 30 Mars 2006, Jean-Philippe Morin * ---------------------------------------------------------- * But : Feuille de style qui peut être utilisée pour * la page rechercher. **************************************************************//**CSS Rechercher******************* * border : 1px solid #0096ce; * background-color : #f2f8fb; * padding : left, right, bottom, top; * float : left, right, none; * clear : left, right, both, none; * CSS Units : em, ex, px; ***********************************/table.resultats{ border : 1px solid #0096ce; color : #0096ce; font : 10pt verdana; width : 100%;}tr.docTypes{ border : 1px solid #0096ce;}td.docTypes_id{ width : 30px;}
<table class="resultats"> <tr> <td class="docTypes_id">#</td> <td>titre</td> </tr> <% var rs_docTypesSearch = Server.CreateObject("ADODB.Recordset"); var strSelectDocType = "SELECT dt.docType_ID, " + strLang + "_docType_Name docType_Name "; strSelectDocType +=" FROM docType dt, community_docType cdt "; strSelectDocType +=" WHERE dt.docType_ID = " + Session("intDocType") + " "; strSelectDocType +=" AND cdt.community_ID = 1 "; strSelectDocType +=" ORDER BY docType_Name "; rs_docTypesSearch.Open(strSelectDocType, cnn_sql, adOpenStatic, adLockReadOnly); while (!rs_docTypesSearch.EOF) { %> <tr class="docTypes"> <td><%= rs_docTypesSearch("docType_ID") %></td> <td><%= rs_docTypesSearch("docType_Name") %></td> </tr> <% rs_docTypesSearch.MoveNext(); } //fin du while rs_docTypesSearch.Close(); %></table>
hmm it still doesnt work here... and i cant find why? and why the style that i call in my TR doesnt apply? if i put another property than border it applies it.If i remove this part of the code, my border doesnt disappear, its only when put this table...