Bonjour,

Nous réalisons actuellement un site web avec un stagiaire qui débute complètement en langage CSS ( HTML et PHP uniquement).

Merci de lui donner un coup de main, l'adaptation du design d'un template lui pose quelque soucis.



Voilà le problème: nous utilisons le template suivant :

http://www.free-css.com/assets/files...ting-services/

Comment remplacer la barre de navigation texte horizontale:



Par une barre de navigation mixte icones/textes (moins haute que dans l'exemple suivant)



Même question pour les 3 blocs centraux ( mise en place de 3 icones à la place du texte central, en laissant le titre et le lien)



La solution que nous avons testé était de remplacer l'image de fond ( répétition d'une barre verticale agrandie, cstrip.gif de 2X184 pixels) par une image au format final.

Celà ne passe pas du tout

Le code source:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
]/**Author Name:Gen 
   Developed in Vin Labs 
   Copyright at gendesigns.blogspot.com 
   ProjectName:Computer Zone **/
*{ margin: 0px; padding: 0px; }*
body
{ 
  background:#eee center top;
  color: #dcdcdc;
  font: .8em normal small "Trebuchet MS",Tahoma, verdana, arial, helvetica, sans-serif;line-height: 1.6em;
}
/**Common**/
p
{
	font-family:arial;
	font-size:0.9em;
}
/**Wrapper **/
#wrapper 
{
	width:900px;
	margin:5px auto;
	background:#ffffff;
}
#top,#footer,#main,#content,#container
{
	width:850px;
	margin:0px auto;
}
#top
{
 
	background:#fdfdfd url(images/cstrip.gif) repeat-x;
	height:74px;
}
#logo h1
{
	font-family:ae_Cortoba;
    font-size:2.4em;
    font-weight:500;
    margin:0px ;
    padding-left:50px;
	padding-top:20px;
	color:#eee;
}
#logo p
{
	 padding-left:60px;
}
#logo
{
float:left;
}
/**Menu***/
ul
{
list-style:none;
}
#menu li
{
display:inline;
}
li a
{
text-align:center;
color:#9ab2be;
float: left;
height: 38px;
margin-right: 1px;
text-decoration: none;
font-size: 1.1em;
padding: 20px 20px 13px 20px;
}
#menu
{
margin-left:350px;
}
#menu a:hover
{
	color:#fff;
}
#main
{
	background:#244458 url(images/pic.gif) no-repeat ;
	height:284px;
}
#content
{
 
	height:185px;
    background:url(images/cstrip.gif) repeat-x;	
}
#left,#right
{
	width:275px;
    height:184px;padding-top:5px;
 
}
#left
{
	float:left;
 
}
#right
{
	float:right;
 
}
#center
{
	margin:0px 275px 0px 275px;
	border-left:1px solid #4F4A4A;
	border-right:1px solid #4F4A4A;
	height:177px;
    padding-top:5px;
}
#left h1,#right h1,#center h1
{
font-size:1.5em;
padding:10px 0 0 50px;
font-family:arial;
}
#left p,#right p,#center p
{
padding:10px 15px 0px 20px;
}
#left h2,#right h2,#center h2
{
	padding-left:170px;
	font-family:arial,verdana,sans-serif,tahoma;
	font-size:0.9em;
}
#left a,#right a,#center a
{
	color:#fff;
	text-decoration:none;
}
#container
{
	height:270px;
	background:#d9d9d9;
	margin-top:5px;
	margin-bottom:5px;
 
}
#lcontain
{
	width:260px;
	background:#eeeeee;
	float:left;
	margin-left:5px;
	height:260px;
	margin-top:7px;
 
}
#rcontain
{
 
	background:#eeeeee;
	float:right;
	width:575px;
      height:260px;
	margin-right:5px;
    margin-top:7px;
 
}
#rcontain  h1,#lcontain h1
{
color:#2f2f2f;
font-size:1.5em;
font-family:arial;
padding:15px 0px 0px 15px;
}
#rcontain p
{
color:#2f2f2f;
padding:10px 10px 0 15px;
}
#lcontain p,#lcontain h2
{
color:#2f2f2f;
padding-left:15px;
}
#lcontain h2
{
font-size:1.1em;
font-family:arial;
}
#lcontain a 
{
	color:#1c443b;
}
.col
{
float:left;
width:280px;
}
.col li a
{
float:none;
color:#1c443b;
text-decoration:underline;
}
.col li a:hover
{
	text-decoration:none;
}
 
/**footer ***/
#footer {
	background: #2e2e2e url(images/fstrip1.gif) repeat-x;
	margin: 0 auto;
	text-align: center;
	clear:both;
	height:30px;
}
#footer a {
	color: #5E6F6E;
	text-decoration: none;
}
#footer a:hover {
	color: #9ab2be;
	text-decoration: underline;
}
Merci pour vos conseils