Toon posts:

Css vraag

Pagina: 1
Acties:

Verwijderd

Topicstarter
http://www.freeworldforum.com/newtopic.php?forum=1

Als je daar ergens in een input veld klik wordt de submit knop bold. Nu snap ik echt NIET hoe dat opeens komt. Hoe kan je dat uitzetten in het stylesheet?

Dit is die we gebruiken:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* Form elements */
input,textarea, select {
color : #000000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10pt;
font-weight : normal;
border-color : #4A739A;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px
}

/* The text input fields background colour */
input.post, textarea.post, select {
background-color : #B3C6FF;
}

input { text-indent : 2px; }
textarea { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
background-color : #D3E1FF;
color : #000000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10pt;
}

/* The main submit button option */
input.mainoption {
background-color : #D3E1FF;
font-weight : bold;
}

/* None bold submit button */
input.liteoption {
background-color : #D3E1FF;
font-weight : normal;
}

.quote  { font-family: Verdana, Arial; font-size: 10pt; color: #444444; line-height: 125%;
          background-color: #D3E1FF; border: #4A739A; border-style: solid;
          border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}th: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.code   { font-family: Courier; font-size: 10pt; color: #111111; line-height: 125%;
          background-color: #EAF5FF; border: #4A739A; border-style: solid;
          border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

  • Dennis
  • Registratie: Februari 2001
  • Laatst online: 23:41
Is IE behaviour, kun je NIET uitzetten.
Is gewoon de windows-focus.

  • Thijsmans
  • Registratie: Juli 2001
  • Laatst online: 15-09 13:35

Thijsmans

⭐⭐⭐⭐⭐ (5/5)

lol: Graphics & Webdesign (forum)

Maar aangezien het pas gebeurt als je ergens op klikt, denk ik dat je niet in de stylesheet moet zijn, maar in de pagina zelf.

Privacy-adepten vinden op AVGtekst.nl de Nederlandse AVG-tekst voorzien van uitspraken en besluiten.


Verwijderd

Topicstarter
Op vrijdag 25 januari 2002 17:33 schreef dennisdotcom het volgende:
Is IE behaviour, kun je NIET uitzetten.
Is gewoon de windows-focus.
grrrrr
naja iig bedankt

  • Dennis
  • Registratie: Februari 2001
  • Laatst online: 23:41
Waarom heb je dit niet aan jullie god gevraagd ?

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:22

crisp

Devver

Pixelated

code:
1
<INPUT accessKey="s" TYPE="SUBMIT" NAME="submit" VALUE="Submit" class="mainoption">

en
code:
1
2
3
4
5
/* The main submit button option */
input.mainoption {
background-color : #D3E1FF;
font-weight : bold;
}

Intentionally left blank


Verwijderd

Topicstarter
dat werkt niet hoor.
nog precies het zelfde

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:22

crisp

Devver

Pixelated

Op donderdag 31 januari 2002 19:52 schreef izoman het volgende:
dat werkt niet hoor.
nog precies het zelfde
Wat ik wou laten zien is dat de tekst bold is omdat het gedefinieerd is in de CSS class.
Als je daar die font-weight: bold uitsloopt is de tekst niet bold meer.

Intentionally left blank

Pagina: 1