[HTML]checkbox valign = center?

Pagina: 1
Acties:

  • kokorico
  • Registratie: Januari 2004
  • Laatst online: 17-05 10:39
Hoi,

ik heb op http://www.easybid.nl/ad/2/47/10/3/BNL/?pn=4 bovenaan 3 checkboxes staan. Maar door dat deze er staan wordt de td een beetje vervormt in de hoogte en staat de content van deze td niet mooi op dezelfde lijn.

Weet iemand een oplossing?

CSS:

code:
1
2
3
4
5
6
7
8
9
10
11
.rubriek_checkbox
{
        color:navy;
    color: #000000;
    background:#FFFFFF;
    valign: center;
    padding-bottom : 0px; 
    padding-top : 0px; 
    padding-right : 0px; 
    padding-left : 0px;
}

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 19-05 21:24

NMe

Quia Ego Sic Dico.

In CSS heet dat niet valign maar vertical-align, en center heet er middle. Dus:
code:
1
2
3
4
5
6
7
8
9
10
11
.rubriek_checkbox
{
        color:navy;
    color: #000000;
    background:#FFFFFF;
    vertical-align: middle;
    padding-bottom : 0px; 
    padding-top : 0px; 
    padding-right : 0px; 
    padding-left : 0px;
}

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


  • kokorico
  • Registratie: Januari 2004
  • Laatst online: 17-05 10:39
neen :( Jammer

Wat is wil is dat alles verticaal gecentreerd wordt in die td.

Zoals in de tabel daarboven.

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 19-05 21:24

NMe

Quia Ego Sic Dico.

Nu je het aangepast hebt staat het toch ook verticaal gecentreerd? :? Eventueel gebruik je aan de onderkant wat negatieve padding/margins om het helemaal gecentreerd te krijgen...

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.