PDA

Zobacz pełną wersję : Button Color?



Sacque
07-11-2007, 12:24
Jak zmienić wygląd buttona na obrazku poniżej?, która klasa css za to odpowiada

http://aycu04.webshots.com/image/32083/2001942364416136565_rs.jpg

kobylinski
07-11-2007, 12:26
Zajrzyj w html'a. Prawy przycisk myszki->Pokaż źródło strony.

Sacque
07-11-2007, 16:46
sory ale nie bardzo rozumię co mam tam szukać

kobylinski
07-11-2007, 17:02
Definicji klasy css.

Mamy coś takiego:


<table class="poll" align="center" border="0" cellpadding="1" cellspacing="0" width="95%">
<thead>
<tr>
<td style="font-weight: bold;">
Nowy szablon PCJ! jest: </td>
</tr>
</thead>
<tbody><tr>
<td align="center">
<table class="pollstableborder" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="sectiontableentry2" valign="top">
<input name="voteid" id="voteid13" value="13" alt="13" type="radio">
</td>
<td class="sectiontableentry2" valign="top">
<label for="voteid13">
bardzo dobry </label>
</td>
</tr>
<tr>
<td class="sectiontableentry1" valign="top">
<input name="voteid" id="voteid14" value="14" alt="14" type="radio">
</td>
<td class="sectiontableentry1" valign="top">
<label for="voteid14">
lepszy niż poprzedni </label>
</td>
</tr>
<tr>
<td class="sectiontableentry2" valign="top">
<input name="voteid" id="voteid15" value="15" alt="15" type="radio">
</td>
<td class="sectiontableentry2" valign="top">
<label for="voteid15">
gorszy niż poprzedni </label>
</td>
</tr>
<tr>
<td class="sectiontableentry1" valign="top">
<input name="voteid" id="voteid16" value="16" alt="16" type="radio">
</td>
<td class="sectiontableentry1" valign="top">
<label for="voteid16">
zły </label>
</td>
</tr>
<tr>
<td class="sectiontableentry2" valign="top">
<input name="voteid" id="voteid17" value="17" alt="17" type="radio">
</td>
<td class="sectiontableentry2" valign="top">
<label for="voteid17">
nie mam zdania </label>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td>
<div align="center">
<input onclick="submitbutton_Poll1();" name="task_button" class="button" value="Głosuj" type="button">
&nbsp;
<input name="option" class="button" value="Wyniki" onclick="document.location.href='http://www.joomla.pl/index.php/index.php/component/option,com_poll/task,results/id,15/';" type="button">
</div>
</td>
</tr>
</tbody></table>



Całość jest w tabeli o klasie poll, a buttony mają klasę button.

czyli definicja klasy będzie wyglądała:


table.poll input.button{

}

Sacque
07-11-2007, 18:41
Big thanx!
rep+