waplet Posted January 18, 2010 Report Share Posted January 18, 2010 tatad man ir search formā- <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/" > <input type="text" value="" name="s" id="searchformtext" onfocus="this.value='';"/> <input type="submit" id="searchsubmit" value="Ok"/> </form> un lapā tiek ielikt starp <li class="navigationlisearch">search forma</div></li> css ir šāds ul#navigationul li.navigationlisearch form{ margin:0; padding:0; } ul#navigationul li.navigationlisearch{ display:inline-block; line-height:40px; padding: 0 12px 0 8px; /*border-right: 2px solid #fbbe59;*/ height:40px; font-size: 12px; color: #747474; float:right; } bet viņa lēkā.. man liekas dēļ taka pogai ir uzlikt attēls,bet es nesēju saprast, tad kāpēc ir jāuzlec augšā viņai. http://omploader.org/vM2E5bQ/navigacija.bmp Link to comment Share on other sites More sharing options...
2easy Posted January 18, 2010 Report Share Posted January 18, 2010 varbūt ar margin-top to pogu var pabīdīt zemāk Link to comment Share on other sites More sharing options...
waplet Posted January 18, 2010 Author Report Share Posted January 18, 2010 Nop nepalīdz, tad atkal gan rakstāmais, gan poga bīdas uzleju. Turpretī iekš Operas ir otrādi, ievade ir augstāk par pogu.. Es gaidīšū varbūt tas mad palīdzes, kā nekā html pro. Link to comment Share on other sites More sharing options...
briedis Posted January 18, 2010 Report Share Posted January 18, 2010 DOCTYPE ir norādīts? A kas šeit par joku, ka beidzās nesācies div elements? <li class="navigationlisearch">search forma</div></li> Link to comment Share on other sites More sharing options...
waplet Posted January 19, 2010 Author Report Share Posted January 19, 2010 (edited) nē nē tur viss ok.. <li class="navigationlisearch"><div><form method="get" id="searchform" action="<?php bloginfo('url'); ?>/" > <input type="text" value="" name="s" id="searchformtext" onfocus="this.value='';"/> <input type="submit" id="searchsubmit" value="Ok"/> </form></div></li> šadi izskatās kopā un doctype ir šads - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> nesaprotu, kāpēc lai viņš nevarētu būt tik taisns kā šeit - http://www.draugiem.lv/friends/?search=1&query[9]= Edited January 19, 2010 by waplet Link to comment Share on other sites More sharing options...
waplet Posted January 19, 2010 Author Report Share Posted January 19, 2010 (edited) Aizņemos no "draugiem" .. spraužu ciet. <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/" > <table cellspacing="1" height="40" > <tbody> <tr> <td> <div> <input defaulttext="Meklēt" value="Meklēt" onfocus="this.value='';" class="color2" name="S" id="searchformtext"/> </div> </td> <td> <input type="submit" id="searchsubmit" value="Ok"/> </td> </tr> </tbody> </table> </form> Edited January 19, 2010 by waplet Link to comment Share on other sites More sharing options...
Recommended Posts