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):
table {
width: 100%;
height: 100%;
border: 10;
background-color: #1fd100;
cellspacing: 0;
cellpadding: 0;
}
.width-25 td {
width: 100%;
}
/** ovo sam dodao **/
.buttons{
text-align: center;
font-size: 1.0em;
font-weight: bold;
line-height: 0;
}
button{
margin-top: 0;
margin-bottom: 0;
padding-top: 50%;
padding-bottom: 50%;
color: #000;
background-color: #1fd100;
border-radius: 0;
border: solid #cccccc 1px;
box-shadow: 2px 2px 1px #888888;
}
<table class="buttons width-25" border="10">
<form action="button_1.php" target="main" method="POST">
<input type="hidden" name="korisnik" value="12345" />
<form action="button_2.php" target="main" method="POST">
<input type="hidden" name="korisnik" value="12345" />
Ima li tko?
zivot je moja domovina.