Forum » Client-Side scripting » Content groter
Berichten: 84
avatar
Offline Stuur privebericht
Hallo,

Ik heb gister Gamoking gedownload, en heb er al een aantal buggs van gefixt.
Alleen nu heb ik 1 probleem ik wil graag mijn content groter maken, en de menu`s meer naar de zijkant.
Alleen kom ik daar niet helemaal uit, mijn css kennis ligt niet erg hoog, en hoop dat ik hieruit weer wat meer kan leren.

Voorbeeld: Afbeelding


Css:
Code | Selecteer Alles
minimaliseren
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
.gb {
background-color:#FFFFFF;
border:1px solid #000000;
color:#000000;
width:100%;
}

.
gb td, .gb tr, .gb p, .gb div {
background-color:#DDE6EB;
color:#000000;
font-family:Verdana;
font-size:11px;
padding-bottom:2px;
}

.
gbinfo {
background:#333333 url(center_header_bg.gif) repeat scroll left top;
border-bottom:1px solid #000000;
color:#FFFFFF;
font-size:11px;
font-weight:bold;
height:42px;
text-align:center;
text-transform:uppercase;
width:100%;
}

.
nav_left
{
    
width3px;
    
height45px;
    
backgroundurl(nav_left.gifno-repeat;
    
floatleft;
}
.
nav_holder
{
    
width958px;
    
height45px;
    
backgroundurl(nav_bg.gifrepeat-x;
    
floatleft;
}
.
nav_right
{
    
width3px;
    
height45px;
    
backgroundurl(nav_right.gifno-repeat;
    
floatright;
    
margin0 0 4px 0;
}
#navigation
{
    
font-size13px;
    
font-weightbold;
    
text-transformuppercase;
    list-
stylenone;
    
margin0padding0;
}
#navigation li
{
    
floatleft;
}
#navigation li a
{
    
color#fff;
    
line-height45px;
    
padding0 20px 0 20px;
    
displayblock;
    
text-aligncenter;
}
    
#navigation li a:hover
    
{
        
backgroundurl(nav_bg.gifrepeat-x 0 -45px;
        
color#fff;
        
text-decorationnone;
    }


@
import 'nav.css'/* This imports the navigation for the top of the template, DO NOT remove this! /*

/* layout
----------------------------------------------- */

body
{
    
font-familyVerdana;
    
font-size10px;
    
color#000;
    
background#1e292d url(bg.gif) repeat-x;
    
margin0padding15px 0 0 0;
}
div#container
{
    
width964px;
    
margin0 auto;
    
background#fff;
    
overflowauto;
}
div#banner
{
    
width944px;
    
height140px;
    
padding5px 5px 5px 5px;
    
backgroundurl(header.pngno-repeat;
    
margin0 auto;
    
clearboth;
}
div#content
{
    
width954px;
    
margin0 auto;
    
padding5px 0 0 0;
    
clearboth;
}
    
div#left
    
{
        
width160px;
        
floatleft;
    }
    
div#center
    
{
        
width550px;
        
floatleft;
        
margin0 0 0 5px;
    }
    
div#right
    
{
        
width160px;
        
floatright;
    }
.
side_header
{
    
font-size13px;
    
text-transformuppercase;
    
color#fff;
    
font-weightbold;
    
width150px;
    
height42px;
    
line-height42px;
    
padding0 0 0 10px;
    
backgroundurl(side_header_bg.gifno-repeat;
}
.
side_content_menu
{
    
width158px;
    
border-left1px solid #769dae;
    
border-right1px solid #769dae;
    
border-top1px solid #769dae;
    
background#dde6eb;
    
margin0 0 10px 0;
}
    .
side_content_menu img
    
{
        
padding-left5px;
        
padding-top2px;
    }
.
side_content
{
    
width150px;
    
padding10px;
    
border1px solid #769dae;
    
background#dde6eb;
    
margin0 0 10px 0;
    
overflowauto;
}
.
search_input_left
{
    
width4px;
    
height25px;
    
backgroundurl(search_input_left.gifno-repeat;
    
floatleft;
}
    .
search_input
    
{
        
font-familyVerdana;
        
width107px;
        
height21px;
        
padding4px 3px 0 0;
        
backgroundurl(search_input.gifrepeat-x;
        
border0;
        
floatleft;
    }
        .
search_submit
        
{
            
cursorpointer;
            
width50px;
            
height25px;
            
backgroundurl(search_button.gifno-repeat;
            
border0;
            
floatleft;
        }
.
center_header
{
    
font-size13px;
    
color#fff;
    
text-transformuppercase;
    
font-weightbold;
    
width530px;
    
height42px;
    
line-height42px;
    
padding0 0 0 10px;
    
backgroundurl(center_header_bg.gifno-repeat;
}
    .
center_content
    
{
        
width538px;
        
background#dde6eb;
        
border1px solid #749eae;
        
margin0 0 10px 0;
    }
    .
center_post_img
    
{
        
width533px;
        
border-top1px solid #fff;
        
border-bottom1px solid #749eae;
        
padding4px 0 4px 5px;
    }
        .
center_post_img img
        
{
            
displayblock;
        }
    .
news_post
    
{
        
width531px;
        
padding7px 0 0 7px;
        
backgroundurl(content_post_bg.giftop repeat-x;
        
line-height14px;
    }
        .
news_post p
        
{
            
margin0padding8px 0 8px 0;
        }
div#site_footer
{
    
text-alignright;
    
width954px;
    
height20px;
    
padding0 10px 0 0;
    
backgroundurl(site_footer.gifno-repeat;
    
clearboth;
}
    
div#site_footer a
    
{
        
text-decorationunderline;
    }
    
div#site_footer a:hover
    
{
        
text-decorationnone;
    }
div#footer
{
    
width880px;
    
height47px;
    
padding0 0 0 80px;
    
margin0 auto;
}
    
div#footer a
    
{
        
margin0 75px 0 0;
        
floatleft;
    }
.
heightfix
{
    
height1%;
    
width1%;
    
displaynone;
}

/* side lists
----------------------------------------------- */

.list_side
{
    
text-alignleft;
    list-
stylenone;
    
margin0padding0;
}
.
list_side li
{
    
text-alignleft;
    
border-bottom1px solid #769dae;
    
backgroundurl(side_list_bg.gifrepeat-x;
    
line-height22px;
    
height22px;
}
.
list_side a
{
    
text-alignleft;
    
color#161e21;
    
padding0 0 0 6px;
    
text-decorationnone;
}
    .
list_side a:hover
    
{
        
text-alignleft;
        
color#161e21;
        
text-decorationunderline;
    }

#nobg {
height100%;
}

/* colours, typography & links
----------------------------------------------- */

a
{
    
color#000;
    
text-decorationnone;
}
a:hover
{
    
color#000;
    
text-decorationunderline;
}
span.posted
{
    
font-size11px;
}

/* misc
----------------------------------------------- */

forminputtextareah1
{
    
margin0padding0;
}
a img
{
    
border0;
}


Ik hoop dat iemand me verden kan helpen.
Alvast bedankt.

Mvg,
Henk
2010-08-22 13:35:29
Dit topic is 317 keer bekeken door 54 verschillende leden
Reacties op: "Content groter"
1 | 2 Volgende pagina
Webspetter.nl
Berichten: 640
avatar
Offline Stuur privébericht
Volgensmij moet je de frame vergroten.
2010-08-22 13:38:24
Berichten: 84
avatar
Offline Stuur privébericht
En hoe doe ik dat?
Heb net even gezocht maar kan het niet vinden
2010-08-22 14:29:50
Berichten: 2103
avatar
Offline Stuur privébericht
index.php

Staat een width & height als het goed is, die moet je aanpassen om hem groter te krijgen.
2010-08-22 14:31:05
Berichten: 84
avatar
Offline Stuur privébericht
Zit nou in de index en pas het aan, komt alleen geen verschil.

Code | Selecteer Alles
minimaliseren
1
2
google_ad_width 125;
google_ad_height 125;
2010-08-22 14:56:56
Berichten: 749
avatar
Offline Stuur privébericht
Mag ik de link van de website?
2010-08-22 15:01:04
Berichten: 84
avatar
Offline Stuur privébericht
http://crimewish.nl
2010-08-22 15:01:23
Berichten: 749
avatar
Offline Stuur privébericht
Code | Selecteer Alles
minimaliseren
1
2
3
4
5
6
7
8
.list_side li
{
    
text-alignleft;
    
border-bottom1px solid #769dae;
    
backgroundurl(side_list_bg.gifrepeat-x;
    
line-height22px;
    
height22px;
}
2010-08-22 15:05:07
Berichten: 84
avatar
Offline Stuur privébericht
Als ik dat verander word alleen het menu langer?
2010-08-22 15:31:12
Berichten: 2103
avatar
Offline Stuur privébericht
Code | Selecteer Alles
minimaliseren
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
.center_header
{
    
font-size13px;
    
color#fff;
    
text-transformuppercase;
    
font-weightbold;
    
width530px;
    
height42px;
    
line-height42px;
    
padding0 0 0 10px;
    
backgroundurl(center_header_bg.gifno-repeat;
}
    .
center_content
    
{
        
width538px;
        
background#dde6eb;
        
border1px solid #749eae;
        
margin0 0 10px 0;
    }
    .
center_post_img
    
{
        
width533px;
        
border-top1px solid #fff;
        
border-bottom1px solid #749eae;
        
padding4px 0 4px 5px;
    }
        .
center_post_img img
        
{
            
displayblock;
        }
    .
news_post
    
{
        
width531px;
        
padding7px 0 0 7px;
        
backgroundurl(content_post_bg.giftop repeat-x;
        
line-height14px;
    }
        .
news_post p
        
{
            
margin0padding8px 0 8px 0;
        }


Die moet je aanpassen.

Die GoogleAds is dus niet van jou maar van Google dus die aanpassen heeft geen zin.
2010-08-22 15:54:54
Berichten: 84
avatar
Offline Stuur privébericht
Content groter maken is me nu gelukt, alleen nu moeten de menu`s meer naar de zeikanten toe..
Content moest trouwens wel in de index, excuses.. zat verkeerd te kijken
Menu moet wel via css, maar kom er niet helemaal uit
2010-08-22 19:41:27
Reageer op: "Content groter"
1 | 2 Volgende pagina
Je kan niet reageren omdat je niet bent ingelogd. Inloggen of Aanmelden