aika Posted April 9, 2010 Report 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
m8t Posted April 9, 2010 Report 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
kirils Posted April 9, 2010 Report Posted April 9, 2010 tr.odd > td {border-right-style:solid; border-color:#EFEFEF;} Quote
daGrevis Posted April 9, 2010 Report 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
marcis Posted April 9, 2010 Report Posted April 9, 2010 Nestrādā tev tāpēc, ka nav norādīts border(-right)-width. Quote
aika Posted April 9, 2010 Author Report Posted April 9, 2010 tr.odd > td {border-right-style:solid; border-color:#EFEFEF;} nope, nestrādā Quote
aika Posted April 9, 2010 Author Report 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
marcis Posted April 9, 2010 Report 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
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.