Prikazi cijelu temu 22.03.2018 16:03
Avko Van mreze
Administrator
Registrovan od:28.05.2014
Lokacija:zagreb


Predmet:Re: Kako razvuci dugme na cijelu celiju table
evo izludio sam više, nemogu pa nemogu ga razvuci a neznam dali je to i moguce. Procitao preko 100 stranica interneta od jue do danas



evo i kod:

PreuzmiIzvorni kôd (HTML):
  1. </head>
  2.         table {
  3.         width: 100%;
  4.                 height: 100%;
  5.                 border: 10;
  6.                 background-color: #1fd100;
  7.                 cellspacing: 0;
  8.                 cellpadding: 0;
  9.     }
  10.    
  11.         .width-25 td {
  12.         width: 100%;
  13.     }
  14.    
  15.     /** ovo sam dodao **/
  16.     .buttons{
  17.         text-align: center;
  18.         font-size: 1.0em;
  19.         font-weight: bold;
  20.         line-height: 0;
  21.     }
  22.     button{
  23.         margin-top: 0;
  24.         margin-bottom: 0;
  25.         padding-top: 50%;
  26.         padding-bottom: 50%;
  27.         color: #000;
  28.         background-color: #1fd100;
  29.         border-radius: 0;
  30.         border: solid #cccccc 1px;
  31.         box-shadow: 2px 2px 1px #888888;
  32.     }
  33.    
  34.    
  35.  
  36.  
  37. <table class="buttons width-25" border="10">
  38.  
  39. <tr><td>
  40.         <form action="button_1.php" target="main" method="POST">
  41.                 <input type="hidden" name="korisnik" value="12345" />
  42.                 <button type="submit">BUTTON 1</button>
  43.         </form>
  44. </td></tr>
  45.  
  46. <tr><td>
  47.         <form action="button_2.php" target="main" method="POST">
  48.                 <input type="hidden" name="korisnik" value="12345" />
  49.                 <button type="submit">BUTTON 2</button>
  50.         </form>
  51. </td></tr>
  52.  
  53. </body>
  54. </html>

Ima li tko?
zivot je moja domovina.