andrisp Posted October 11, 2005 Report Share Posted October 11, 2005 (edited) ir piemeeram <style type="text/css"> td { border: 1px solid black; } </style> <table> <tr> <td>asd</td> <td width="5" class="asd"></td> </tr> <tr> <td width="5"></td> <td>asd</td> </tr> </table> nu nesaprotu iisti kuros gadiijumos css nostailo elementu, un kuros nee ? tik daudz es saprotu, ka jau elementaa ir iekshaa saturs, tad stailo, ja nav, tad ne, kaapeec vispaar css nestailo tukshos elementus ? saprotu, ka bezjeedziigi jautaajumi, bet man netikai "kaa", bet arii "kaapeec" ... un kaa lai piespiezh css stailot tukshos elementus ? var jau ielikt speisu, bet ja elements ir 1px plats tad nav eerti, un vispaar nepatiik taads risinaajums.. paldies Edited October 11, 2005 by andrisp Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2005 Report Share Posted October 11, 2005 dumš? tas attiecās tikai uz TD laikam, kad nav dati iekšā, TD nemaz netiek zīmēts/stailots. Viss pārējais stailojās... Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2005 Author Report Share Posted October 11, 2005 dumš? tas attiecās tikai uz TD laikam, kad nav dati iekšā, TD nemaz netiek zīmēts/stailots. Viss pārējais stailojās... 24415[/snapback] ko dumsh ? visiem jau nav taada pieredze un zinaashanas kaadas tev ir .. btw, firefox stailo arii tukshos; opera un ie stailo tukshos caur klaseem.. taa vismaz noveeroju.. Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2005 Report Share Posted October 11, 2005 Kur tad tev stailo ? tur jau nav ko stailot... http://no.good.lv/testi/testtd.html Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2005 Author Report Share Posted October 11, 2005 Kur tad tev stailo ? tur jau nav ko stailot... http://no.good.lv/testi/testtd.html 24418[/snapback] nju bet backgroundu ta uzliek un to es tieshi nesaprotu,... kautkas ir kautkas nav.. nu ok, lai ir kaa ir.. Link to comment Share on other sites More sharing options...
lame Posted October 11, 2005 Report Share Posted October 11, 2005 vai ta backgrounds šeit nav <tr>? attiecīgi tāpēc arī rāda :) Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2005 Report Share Posted October 11, 2005 nu ja... Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2005 Author Report Share Posted October 11, 2005 vai ta backgrounds šeit nav <tr>?attiecīgi tāpēc arī rāda :) 24421[/snapback] sheit ir... bet varam noraadiit background-color arii atieciigajam tukshajam td un arii raadiisies.. nez.. mosh vinjs transferee to atribuutu uz parent tr.. vai kautkaa taa... Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2005 Report Share Posted October 11, 2005 uz parent nekas netiek inheritots. tas ir `pretlikumīgi`. ja vajag, tad taisa spec. funkciju. Link to comment Share on other sites More sharing options...
rpr Posted October 11, 2005 Report Share Posted October 11, 2005 empty-cells: show; Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2005 Author Report Share Posted October 11, 2005 uz parent nekas netiek inheritots. tas ir `pretlikumīgi`.ja vajag, tad taisa spec. funkciju. 24426[/snapback] a tad kaapeec tad background-color raadaas arii uz tukshiem td ? <_< Link to comment Share on other sites More sharing options...
Ugabuga Posted October 11, 2005 Report Share Posted October 11, 2005 (edited) Tukshas tabulas shuunas labaak neatstaat - nav labs stils.. vismaz iemest, ja baisi vaig tukshu shuunu. Edited October 11, 2005 by Ugabuga Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2005 Report Share Posted October 11, 2005 a tad kaapeec tad background-color raadaas arii uz tukshiem td ? <_< 24430[/snapback] tāpēc ka tas ir šunas background, nevis teksta DOM(pēc XML analoģijas) ir tā TABLE->TR->TD->TEXT [ja nemaldos] Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2005 Author Report Share Posted October 11, 2005 (edited) tāpēc ka tas ir šunas background, nevis teksta DOM(pēc XML analoģijas) ir tā TABLE->TR->TD->TEXT [ja nemaldos] 24436[/snapback] ok, palieku apniciigs droshi vien, bet kaapeec tad es shuunai taapat kaa background-color nevaru noraadiit ar border piemeeram ? nu nedalec man kaapeec vienu var, bet otru nevar :blink: Edited October 11, 2005 by andrisp Link to comment Share on other sites More sharing options...
Roze Posted October 11, 2005 Report Share Posted October 11, 2005 ok, palieku apniciigs droshi vien, bet kaapeec tad es shuunai taapat kaa background-color nevaru noraadiit ar border piemeeram ? nu nedalec man kaapeec vienu var, bet otru nevar :blink: 24439[/snapback] Ja tu satraucies jau pa šitādām lietām "kapēc nevar? kapēc rāda tā un nevis šitā?" nez kas būs kad sāksies "CSS holy hacki" .. Pieņem faktu ka browseris tā to attēlo vai neattēlo un viss ;) .. atceroties kādreiz jautrības ar NS (3.x - 4.x laikam) nested tabulām un backgroundiem Link to comment Share on other sites More sharing options...
Recommended Posts