cucumber Posted August 23, 2006 Report Share Posted August 23, 2006 Ir iespejams izmainit droplist'a selecta krasu bez js iejaukshanas? Link to comment Share on other sites More sharing options...
v3rb0 Posted August 23, 2006 Report Share Posted August 23, 2006 nezinu ko tieši gribi mainīt, bet ar css var izkrāsot viņu kā dzeņa vēderu (ja gribi pavisam customizēt, tad jātaisa savs drowns ar js un bildiņām) Link to comment Share on other sites More sharing options...
blackhalt Posted August 23, 2006 Report Share Posted August 23, 2006 Jā. border:1px dotted #f00; Link to comment Share on other sites More sharing options...
cucumber Posted August 23, 2006 Author Report Share Posted August 23, 2006 Izmainit selecta arejo ramati ? <SELECT name=cardtype style='width: 200px; <!-- rakstu sheit ko gribu nekas nenotiek ??? -->'> ... . . . Link to comment Share on other sites More sharing options...
goldy Posted August 23, 2006 Report Share Posted August 23, 2006 tas tāpēc, ka tas viss ir jāraksta iekš <option> Link to comment Share on other sites More sharing options...
cucumber Posted August 23, 2006 Author Report Share Posted August 23, 2006 tas tāpēc, ka tas viss ir jāraksta iekš <option> Palasi manuali goldy. Kods neko nedot <SELECT style='width: 200px;'> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> <option style='border: 1px solid red;'>This is option 1</option> </select> Tad to vipar ir iespejams izdarit, google skatos nekur nav? Link to comment Share on other sites More sharing options...
Delfins Posted August 23, 2006 Report Share Posted August 23, 2006 dumš vai izliecies? .sel { border-width: 1px; background-color: #ccc; padding: 5px; } .sel option { background-color: #aaF; } <select class="sel"> <option value="a">AAA</option> <option value="b">BBB</option> </select> Link to comment Share on other sites More sharing options...
goldy Posted August 23, 2006 Report Share Posted August 23, 2006 cucumber -> un tu gribi teikt ka Delfins iedotais kods nestrādā, un ka tas ir pretrunā ar manis rakstīto? pats varbūt palasi w3.org. kāpēc prasot, lai tev pasaka kā mainīt dropdowna krāsu, savā kodā tu centies izmanīt borderu? Link to comment Share on other sites More sharing options...
Delfins Posted August 23, 2006 Report Share Posted August 23, 2006 nē nav obligāti iekš option... ES iedevu piemēru, kur kur selects pilnībā izkrāsots... bet tas jau nemaina būtība.. imo jāliet CSS stili, nevis jāliek propertijs style.. vismaz tā ir ātrāk/ērtāk/pareizāk stilot elementus Link to comment Share on other sites More sharing options...
goldy Posted August 23, 2006 Report Share Posted August 23, 2006 nezinu gan, varbūt tagad visos browseros var iekrāsot select, bet kādu laiku atpakaļ kad ar šito spēlējos, vai nu firefox vai opera neņēma background krāsu selectam, bet option bija ok Link to comment Share on other sites More sharing options...
cucumber Posted August 23, 2006 Author Report Share Posted August 23, 2006 Izmainit selecta arejo ramati ?<SELECT name=cardtype style='width: 200px; <!-- rakstu sheit ko gribu nekas nenotiek ??? -->'> Sheit es prasiju izmainit, un tad aiz gaja kaud kads kreisais kods, kas tuvu nav tas ko es gribeju "<<arejo ramiti >>" Un man liekas galu gala ka to nevar panakt x( Link to comment Share on other sites More sharing options...
john.brown Posted August 23, 2006 Report Share Posted August 23, 2006 Cik zinu, iekš FF var izmainīt, iekš IE - nē :) Link to comment Share on other sites More sharing options...
cucumber Posted August 24, 2006 Author Report Share Posted August 24, 2006 Just i said, ja es IE lietoju , tapec radas nesaskanas, laikam? Link to comment Share on other sites More sharing options...
goldy Posted August 24, 2006 Report Share Posted August 24, 2006 tu tiešām esi apdalīts? kur tu html specifikācijā vispār redzi, ka select ir paredzēts borders. pirms kliedz, ka kaut kas nestrādā varbūt palasi vai vispār tam ir jāstrādā. selectam var mainīt background krāsu un tas arī strādā, bet borders tur pat nav paredzēts. Link to comment Share on other sites More sharing options...
cucumber Posted August 24, 2006 Author Report Share Posted August 24, 2006 tads jau bija man jautajums, vai var BORDERI AREJO <--- izmainit doh Link to comment Share on other sites More sharing options...
Recommended Posts