[html/css] IE 6 verdubbelt het aantal pixels

Pagina: 1
Acties:

  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
Mijn probleem is dat in IE 6 (dus niet alleen 5.5) de heights van de tr's die ik absoluut meegeef in px verdubbeld (in ieder geval niet de juiste grootte) worden. Iemand enig idee waarom dit gebeurt?

NB Ik heb wat extra padding:0px en margin:0px toegevoegd. Mocht niet baten.

Afbeeldingslocatie: http://www.xs4all.nl/~deagol/tweakers/images/ie_fout_klein.png

Cascading Stylesheet:
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
html, body {
    height:100%;
}

body {
    background-color:#000023;
    font-family: verdana, helvetica, arial, sans-serif;
    margin:0px;
}

table.maintable {
    background-color: #ffffff;
    width:760px;
    /*/ to center the table: /*/
    margin-left:auto;
    margin-right:auto;
    height: 100%;
    margin-top:0px;
    margin-bottom:0px;
}

tr {
    margin:0px;
    padding:0px;
}

tr.logo {
    text-align:center;
    height:81px;
}

tr.datumTr {
    height:40px;
}

tr.noteTr {
    vertical-align:bottom;
}

tr.menuTr {
    height:18px;
}

td {
    font-size: 11px;
    margin:0px;
    padding:0px;
}

td.datumTd {
    text-align:right;
    padding-right:10px;
    vertical-align:bottom;  
}

td.menu {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #b3b3b2;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #b3b3b2;
    background-color:#ECECF2;
    width: 156px;
    text-align: center; 
    color:#272D58;
}

td.selectedMenu{
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color:#CC0000;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CC0000;
    background-color:#CC0000;
    width: 156px;
    text-align: center; 
    color:#FFCC99;
    font-weight:bolder;
}

td.menuover {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #b3b3b2;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #b3b3b2;
    background-color:#272D58;
    width: 156px;
    text-align: center;
    color: #ECECF2;
}

td.menu2 {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #b3b3b2;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #b3b3b2;

    width: 156px;
    text-align:center;  
    color: #272D58;
}

td.menuover2 {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #b3b3b2;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #b3b3b2;
    background-color:#272D58;
    width: 156px;
    text-align:center;
    color: #ffffff;
}

td.note {
    text-align:center;
    vertical-align:bottom;
    border-top-width:1px;
    border-top-style:solid;
    border-top-color:#b3b3b2;
    height:35px;
}

td.maintd {
    vertical-align: top;
}
}

[ Voor 13% gewijzigd door mmedia op 18-02-2005 10:52 ]


  • Willem
  • Registratie: Februari 2001
  • Laatst online: 22:35
De heights waarvan :? :)

Motor (of auto) onderhoud bijhouden


  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
Ohw sorry, van de table rows.

  • HyperioN
  • Registratie: April 2003
  • Laatst online: 25-04 09:11
Heb je niks online staan dan kunnen we het zelf even checken... zo op "harde code" staren heeft niemand zin in denk ik.

  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
HyperioN. schreef op woensdag 16 februari 2005 @ 19:56:
Heb je niks online staan dan kunnen we het zelf even checken... zo op "harde code" staren heeft niemand zin in denk ik.
Ok, bij deze, klik!

Firefox geen probleem, IE 6.0 vernaggelt de heights van de tr's.
NB ik heb de site ff gestripped van alle zaken die er niet toe doen.

[ Voor 12% gewijzigd door mmedia op 16-02-2005 20:39 ]


  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
Screenshot toegevoegd. Probleem bestaat helaas nog steeds. Ik hoop dat 1 of meerdere tweakers mij wellicht mij uit de brand kan helpen.

  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

Waarom bekijk je de 'nieuwerwetse' methodes niet zodat je helemaal geen tables hoeft te gebruiken? ;)

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • crisp
  • Registratie: Februari 2000
  • Nu online

crisp

Devver

Pixelated

Je weet dat width en height bij tables eigenlijk als min-width en min-height worden beschouwd tenzij je table-layout:fixed gebruikt?
Verder sluit ik me aan bij BtM909: tables zijn niet bedoelt voor layout...

Intentionally left blank


Verwijderd

Tables en 100% height, en daar je layout op baseren resulteerd altijd in geneste tables omdat het issues oplevert :) Je kunt dit wel doen, maar dan zul je moeten nesten, of vaste values gaan gebruiken (dwz dus geen 100% height).

Of.. je kunt gaan layouten met css, maar daar ging je vraag niet over :)

[ Voor 130% gewijzigd door Verwijderd op 18-02-2005 11:03 ]


  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
BtM909 schreef op vrijdag 18 februari 2005 @ 10:53:
Waarom bekijk je de 'nieuwerwetse' methodes niet zodat je helemaal geen tables hoeft te gebruiken? ;)
Kan je (of iemand anders...) dit wellicht iets meer toelichten. Op zich kan ik namelijk nu nog overschakelen van tables naar iets anders! Als ik het goed begrijp moet ik eigenlijk, als ik het netjes wil doen, op een andere manier de layout verzorgen.

[ Voor 19% gewijzigd door mmedia op 18-02-2005 11:36 ]


  • Woudloper
  • Registratie: November 2001
  • Niet online

Woudloper

« - _ - »

Hier voor kan je gaan [google=3 Columns layout] en naar [google=taming the list] (zie bv.: List a Matic 2).

  • mmedia
  • Registratie: Januari 2002
  • Laatst online: 17-12-2021
Is layouten via css nu the way to go? Zo ja, dan richt ik mijn pijlen daarop.

Verwijderd

Is layouten via css nu the way to go? Zo ja, dan richt ik mijn pijlen daarop.
Al een paar jaar ja.

  • JHS
  • Registratie: Augustus 2003
  • Laatst online: 04-01 15:49

JHS

Splitting the thaum.

mmedia schreef op vrijdag 18 februari 2005 @ 11:49:
Is layouten via css nu the way to go? Zo ja, dan richt ik mijn pijlen daarop.
Ja :) . En "correcte" html natuurlijk :) .

DM!

Pagina: 1