aika Posted April 9, 2010 Report Share Posted April 9, 2010 (edited) kā pareizi uz norādīt uz td rindai (tr) ar savu klasi. tr.odd td {border-right-style:solid; border-color:#EFEFEF;} nestrādā :( .odd td {border-right-style:solid; border-color:#EFEFEF;} arī :( Edited April 9, 2010 by aika Quote Link to comment Share on other sites More sharing options...
m8t Posted April 9, 2010 Report Share Posted April 9, 2010 Tavam kodam jāizskatās aptuveni šādi: <table> <tr><td class="odd">teksts</td></tr> </table> tad css failā liec vienu no šiem: td.odd {junk here} .odd {junk here} td {junk here} Quote Link to comment Share on other sites More sharing options...
kirils Posted April 9, 2010 Report Share Posted April 9, 2010 tr.odd > td {border-right-style:solid; border-color:#EFEFEF;} Quote Link to comment Share on other sites More sharing options...
daGrevis Posted April 9, 2010 Report Share Posted April 9, 2010 (edited) Nevar vienkārši? border: 1px solid #efefef; Sajaucu... :D border-right: 1px solid #efefef; Edited April 9, 2010 by daGrevis Quote Link to comment Share on other sites More sharing options...
marcis Posted April 9, 2010 Report Share Posted April 9, 2010 Nestrādā tev tāpēc, ka nav norādīts border(-right)-width. Quote Link to comment Share on other sites More sharing options...
aika Posted April 9, 2010 Author Report Share Posted April 9, 2010 tr.odd > td {border-right-style:solid; border-color:#EFEFEF;} nope, nestrādā Quote Link to comment Share on other sites More sharing options...
aika Posted April 9, 2010 Author Report Share Posted April 9, 2010 Nestrādā tev tāpēc, ka nav norādīts border(-right)-width. nē, nestrādā arī ar border-right: 1px solid #efefef; problēma jau ir tamā, ka tas td nesaprot ka tr.clase uz viņu attiecas Quote Link to comment Share on other sites More sharing options...
marcis Posted April 9, 2010 Report Share Posted April 9, 2010 Lasām viela par CSS2 (šis tas gan tur uz CSS3 velk) selektoriem: http://www.w3.org/TR/CSS2/selector.html <tr class="manaklase"><td>... -> tr.manaklase td Varbūt parādi savu html un css, jo ir aizdoma, ka problēma ir kaut kur citur un ar minēšanu mums te tā nepārāk. Quote Link to comment Share on other sites More sharing options...
aika Posted April 10, 2010 Author Report Share Posted April 10, 2010 sorrī, tiešām kļūda bija citur. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.