xhtml strict - d

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Adriaan

Adriaan

05/04/2008 22:17:00
Quote Anchor link
beste helpers!

ik probeer mijn menu netjes te coderen met css en met zo min mogelijk html. het wil alleen niet helemaal lukken. zoals je het goed kunt zien op deze pagina:
[link verwijderd]

dit is de link naar mijn css bestand:
[link verwijderd]

goed weekend nog ;p
Gewijzigd op 01/01/1970 01:00:00 door Adriaan
 
PHP hulp

PHP hulp

27/05/2026 08:36:09
 
Toine vd P

Toine vd P

05/04/2008 22:18:00
Quote Anchor link
Hoe wil je em hebben ?
 
Adriaan

Adriaan

05/04/2008 22:47:00
Quote Anchor link
oja.. sorry.. ik heb de preview er naast gezet!
 
Toine vd P

Toine vd P

05/04/2008 22:58:00
Quote Anchor link
Adriaan,

porbeer je laatste list-item eens margin-top van -10px te geven.
 
Adriaan

Adriaan

05/04/2008 23:00:00
Quote Anchor link
hmm.. nee.. dat lost niets op
 
Toine vd P

Toine vd P

05/04/2008 23:01:00
Quote Anchor link
Ik heb het net zelf geprobeerd, het helpt wel

Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv='content-type' content='text/html; charset=utf-8' />
  <base href='http://www.mijnsurfwinkel.nl/' />
  <link rel='shortcut icon' href='images/favicon.ico' />
  <link rel='stylesheet' type='text/css' href='scripts/stylesheet.css' />
  <meta name='keywords' content='verzenden, mijnsurfwinkel.nl' />
  <meta name='verify-v1' content='r7mrGfXHLJSQfbyG2pX+kD+44gqyHr/s1JsbAjhjg8k=' />  
  <title>Menu | Mijnsurfwinkel.nl</title>
    <style>
    #header {
    position:relative;
    width:760px;
    margin: 0px auto;
    background-color:transparent;
}

#logo {
    position:absolute;
    top:0px;
    left:0px;
}

#winkelmand {
    position:absolute;
    top:7px;
    right:5px;
    cursor:pointer;
    vertical-align:top;
}

#shopping_cart {
    position:absolute;
    top:0px;
    right:80px;
  cursor:pointer;
  vertical-align:top;
}

#linken {
    position:absolute;
    top:50px;
    right:0px;
}

#banner {
    position:absolute;
    top:70px;
    right:0px;
}

#body {
  float: left;
    position:relative;
    top:240px;
    background-color:transparent;
    width: 760px;
}

#bestel {
  background-image: url(../images/buttons/green_table_2.jpg);
  float:right;
  text-align: right;
  margin-left:10px;
  margin-right:0px;
  width: 220px;
}

#footer{
    position:relative;
    clear: both;
  font-size:11px;
  color: #0066cc;
  top: 20px;
  padding-top: 3px;
  border-top: 2px solid #0099cc;
  text-align: center;
}

#footer a{
  color: #0066cc;
}

#menu {
  float:left;
  padding-right: 15px;
  padding-bottom: 10px;
}

#menu div{
  width:151px;
}

#menu a{
  text-decoration: none;
}

#menu li{
  display:block;
  margin:0;
  padding:0.25em 0.5em 0.25em 1em;
  width:100%;
}

html>body #menu li {
  width: auto;
}

#menu li:first-child {
  border-top: 0px;
}

#menu_producten {
  background-color:#99FF99;
    position:relative;
  padding-top: 0px;
}

#menu_producten a{
  color: darkgreen;
}

#menu_producten ul {
  list-style-type:none;
  margin:0;
  padding:0;
  border:none;
}

#menu_producten li {
  border-top: 1px solid #00CC00;
  border-left: 1px solid #00CC00;
  border-right: 1px solid #00CC00;
}

#menu_help {
  background-color:#99CCCC;
  margin-top: 20px;
  border-left: 1px solid #3399CC;
  border-right: 1px solid #3399CC;
}

#menu_help a{
  color: darkblue;
}

#menu_help ul {
  list-style-type:none;
  margin:0;
  padding:0;
  border:none
}

#menu_help li {
  border-top:1px solid #3399CC;
}

body, td, textarea, pre{
  font-family:arial,sans-serif;
  font-size:12px;
  border-collapse: collapse;
  color: #333333;
}

html {
  overflow: scroll;
}

img{
  border: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

a{
  color: #009900;
}

h1{
  font-size:30px;
  font-weight: bold;
  color: #0066cc;
  font-style: italic;
  margin: 0px;
}

h2{
  font-size:16px;
  color: #009900;
  font-style: italic;
  margin: 0px;
  margin-top:5px;
}

p, ul{
  margin-top:0px;
  margin-bottom:15px;
}

p.lid{
  margin-left:33px;
  text-indent:-33px;
}

p.tel{
  margin-left:60px;
  text-indent:-14px;
}

li{
  margin: 3px;
}
    </style>
</head>
<body>
  
<div id='header'>
  <div id='body'>
    <div id='menu'>
      <div id='menu_producten'>
      <img src='images/buttons/green.jpg' alt='bottom background' />
        <ul style='padding:0px;'>
          <li>Zeilen 2008</li>

          <li><a href='surfzeil/2008/kasail/kult'>Kult</a></li>
          <li><a href='surfzeil/2008/kasail/koyote'>Koyote</a></li>
          <li><a href='surfzeil/2008/kasail/koncept'>Koncept</a></li>
          <li><a href='surfzeil/2008/kasail/kaos'>Kaos</a></li>
          <li style="margin-bottom: -10px;"><a href='surfzeil/2008/kasail/ka formula'>Ka formula</a></li>
        </ul>

      <img src='images/buttons/green_bottom.jpg' alt='bottom background' />
      </div>

      <div id='menu_help'>
      <img src='images/blue_top.jpg' alt='bottom background' />
        <ul>
          <li>Service</li>
          <li><a href='help/bestellen'>Bestellen</a></li>

          <li><a href='help/verzenden'>Verzenden</a></li>
          <li><a href='help/advies'>Advies</a></li>
          <li style="margin-bottom: -10px;"><a href='help/garantie'>Garantie</a></li>
        </ul>
      <img src='images/blue_bottom.jpg' alt='bottom background' />
      </div>

    </div>

    <img src='http://www.mijnsurfwinkel.nl/images/menu_preview.jpg' alt='menu preview' />
 </div>
</div>
</body>
</html>
 
Adriaan

Adriaan

05/04/2008 23:23:00
Quote Anchor link
ja. met idd. met style='margin-bottom: -10px;' werkt het wel. maar dan is er nog wel verschil met het preview-image wat ik erbij heb gezet. heb je idee waar dat aan ligt?
 
Adriaan

Adriaan

07/04/2008 00:40:00
Quote Anchor link
heeft iemand idee hoe ik het menu kan krijgen zoals het plaatje?
 
Jacques

jacques

07/04/2008 01:43:00
Quote Anchor link
Zet jou #body eens bovenaan en plaats daar al je "divs en .class in.

Grtz,
Jacques
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.