werd Posted July 23, 2007 Report Share Posted July 23, 2007 (edited) Visadi izmeginajos ir <input style="width:150px;" type="text" size="5" maxlength="10" /> css ir input[type=text]{ border-color:red; } vajag lai borderim nomainas krasa uz sarkano, tad kad ir kursors iekša,ar .visited,.hover,.active,.link neder!Foruma ari nekur par to nebij kjipa ta ka draigiem.lv login lapa Sanak ka man vajag input[type=text].magicword uzzinat! Edited July 23, 2007 by phpjanis Link to comment Share on other sites More sharing options...
player Posted July 23, 2007 Report Share Posted July 23, 2007 (edited) <html> <head> <style type="text/css"> input.ab:focus {border: 2px solid orange;} </style> </head> <body> <form> <input type="text" class="ab" /> </form> </body> </html> uz ie nestraadaa paprasi kaadam lai paraada kaa ar js to dariit vai pameklee google kaadu skriptu Edited July 23, 2007 by player Link to comment Share on other sites More sharing options...
werd Posted July 23, 2007 Author Report Share Posted July 23, 2007 Paldies! magicword focus Link to comment Share on other sites More sharing options...
mefisto Posted July 23, 2007 Report Share Posted July 23, 2007 Bet tas nedarbojas. http://en.wikipedia.org/wiki/Comparison_of...(CSS)#Selectors Uz IE6 nedarbojas ne input[type=text], ne input:focus. Tas nozīmē ka poiedāvātais brīnumvarinats nedarbojas uz ~40% pārlūku. Apsveicu. Player varētu beigt rakstīt stulbības un sākt lasīt. Lai to efectu panaktu ir jalieto js. JS kods šeit: http://innonesen.se/test/l-13/script.js Pielietojums: http://innonesen.se/test/l-13/ Link to comment Share on other sites More sharing options...
player Posted July 23, 2007 Report Share Posted July 23, 2007 nebrauc man augumā mefisto Link to comment Share on other sites More sharing options...
Recommended Posts