Forum » Izdelava spletišč » Dolocanje obrobe z CSS pri SELECT-u
Dolocanje obrobe z CSS pri SELECT-u
matic ::
Kako se lahko poigram z obrobo pri SELECT-u s CSSjem!?
Primer:
V CSS datoteki, ki je pripeta HTML dokumentu pa je napisano:
???
p.s.: probal sem tudi k selectu dodati style="border-width:1px" pa ni nic boljs...
Primer:
<select name="izbira" size="2">To zgleda takole:
<option value="1">Prvi</option>
<option value="2">Drugi</option>
</select>
V CSS datoteki, ki je pripeta HTML dokumentu pa je napisano:
input, textarea, select { background-color: #333333; border-width: 1px }In barva ozadja se spremeni, obroba pa ne, med tem ko pri gumbih (inputih) itd. dela vse ok!
???
p.s.: probal sem tudi k selectu dodati style="border-width:1px" pa ni nic boljs...
-----------------------------------------
podpis: _____________
podpis: _____________
- spremenilo: matic ()
KatMai ::
Microsoft Syntax for borderColor
object.style.borderColor[ = color]
Remarks
Up to four different colors can be specified. If one color is supplied, it is used for all four sides. If two colors are supplied, the first is used for the top and bottom, and the second is used for left and right. If three colors are supplied, they are used for top, right and left, and bottom, respectively. For a list of supported color values, see Color Table.
The property has read/write permission. It is supported on block and replaced elements only.
Applies To
HTML Tags BLOCKQUOTE, BODY, CAPTION, CENTER, DD, DIR, DIV, DL, DT, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, IMG, IFRAME, INPUT, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, SPAN, TABLE, TD, TEXTAREA, TH, TR, UL, XMP
object.style.borderColor[ = color]
Remarks
Up to four different colors can be specified. If one color is supplied, it is used for all four sides. If two colors are supplied, the first is used for the top and bottom, and the second is used for left and right. If three colors are supplied, they are used for top, right and left, and bottom, respectively. For a list of supported color values, see Color Table.
The property has read/write permission. It is supported on block and replaced elements only.
Applies To
HTML Tags BLOCKQUOTE, BODY, CAPTION, CENTER, DD, DIR, DIV, DL, DT, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, IMG, IFRAME, INPUT, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, SPAN, TABLE, TD, TEXTAREA, TH, TR, UL, XMP
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Tabela/razpredelnica v html kodiOddelek: Programiranje | 860 (770) | Yacked2 |
» | Prikaz strani na različni resoluciji-JoomlaOddelek: Izdelava spletišč | 1927 (1655) | kr?en |
» | HTML in CSS težava pri razporeditvi DIV elementovOddelek: Izdelava spletišč | 969 (789) | MisterR |
» | google analyticsOddelek: Slo-Tech | 3110 (2580) | roli |
» | glow efekt s css v FF / dinamicen width s CSS v FFOddelek: Izdelava spletišč | 1555 (1397) | Lee_Nover |