https://www.17buddies.rocks/index.html

17's Buddies Maps HL1 Maps HL2 Wads Plan des Maps
17 Buddies
Only for stats

Welcome Guest ( Log In | Register )

 
New
Nuked Klan, souci de mise en page NK
corrado
post 11/12/2009 - 07:47:43 |   Post #1
+Reply

Group: Member
Posts: 499
Joined: 25/08/2008

ch 


Bonjour à tous
voici mon souci
sur le thème crack_v1 de nuked klan, dans la bannière supérieur, j'ai voulu intégrer un menu.
Aucun souci, super bien intégrer, mais uniquement sous firefox
Avec IE le reste du thème se retrouve décalé sur la droite:

http://www.cssun.fr/index1.php?file=News

c'est vraiment horrible
j'y est passer la nuit mais pas moyens de trouver d'où cela peut venir

donc si vous pouvez m'aider je vous en remercie d'avance

cordialement
Post PM
Go to the top of the page
dvdmag
post 11/12/2009 - 09:31:46 |   Post #2
+Reply

Group: Member
Posts: 3
Joined: 17/04/2006

fr 
Team:
[aB] alphaB


Yop

Citation
<link type="text/css" href="/menu/menu_style.css" rel="stylesheet">
1 Failed to load source for: http://www.cssun.fr/menu/menu_style.css
</link>


Il semble que ton fichier de style soit introuvable.
L'adresse que tu a mise pour localiser ce fichier n'est pas la bonne ou le fichier n'est pas au bon endroit.

This post has been edited by dvdmag: 11/12/2009 - 09:32:18
Post PM
Website
Go to the top of the page
corrado
post 11/12/2009 - 10:50:28 |   Post #3
+Reply

Group: Member
Posts: 499
Joined: 25/08/2008

ch 


ben pourtant si (IMG:http://forum.17buddies.rocks/style_emoticons/default/huh.gif)

voici mon menu_style.css :

Citation
ul.menu {
list-style-type:none;
width:auto;
position:relative;
display:block;
height:33px;
font-size:.6em;
background:url(images/bg.png) repeat-x top center;
font-family:Verdana,Helvetica,Arial,sans-serif;
border:1px solid #000;
margin:0;
padding:0;
}

ul.menu li {
display:block;
float:left;
margin:0;
padding:0;
}

ul.menu li a {
float:left;
color:#A79787;
text-decoration:none;
height:24px;
padding:9px 15px 0;
font-weight:normal;
}

ul.menu li a:hover,.current {
color:#fff;
background:url(images/bg.png) repeat-x top center;
text-decoration:none;
}

ul.menu .current a {
color:#fff;
font-weight:700;
}


/*RED*/
ul.menu.red{
background-color:#B11718;
}
ul.menu.red li a:hover, .menu.red li.current {
background-color:#DE3330;
}



et voici le code htlm convertit en php du menu: (convertit pour être intégrer au thème) :

Citation
echo"<head>"
. "<link rel=\"stylesheet\" href=\"http://www.cssun.fr/themes/CrAk-v1/menu/menu_style.css\" type=\"text/css\" />"
. "<ul class=\"menu red\">"
. " <li class=\"current\"><a href=\"http://www.cssun.fr/index1.php?file=News\" target=\"_self\">ACCUEIL</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Forum\" target=\"_self\">FORUM</a></li>"
. " <li class=\"current\"><a href=\"http://www.cssun.fr/index1.php?file=Defy\" target=\"_self\">NOUS DEFIER</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Recruit\" target=\"_self\">RECRUTEMENT</a></li>"
. "<li><a href=\"http://www.cssun.fr/index1.php?file=charte\" target=\"_self\">NOTRE CHARTE</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Team\" target=\"_self\">LE STAFF</a></li>"
. " <li><a href=\"http://www.cssun.fr/index.php?file=Links\" target=\"_self\">LIENS WEB</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Gallery\" target=\"_self\">GALERIE</a></li>"
. "<li><a href=\"http://www.cssun.fr/index1.php?file=Guestbook\" target=\"_self\">LIVRE D'OR</a></li>"
."";



de plus pourquoi il trouverais le "menu_style.css" avec firefox et pas avec IE???? (IMG:http://forum.17buddies.rocks/style_emoticons/default/eek.gif)

This post has been edited by corrado: 11/12/2009 - 11:00:47
Post PM
Go to the top of the page
dvdmag
post 11/12/2009 - 13:14:34 |   Post #4
+Reply

Group: Member
Posts: 3
Joined: 17/04/2006

fr 
Team:
[aB] alphaB


En regardant la source de ta page, on peut y voir un lien:
Citation
<link type="text/css" href="/menu/menu_style.css" rel="stylesheet">


Ton fichier css est référencé plusieurs fois
Il y a plusieurs balise <head> et </head>

Il y a donc une ou des erreurs quelque part dans ton code.

Firefox est beaucoup plus tolérant que IE.....

Remarques:
Tu as construit ton menu dans un div. C'est mieux qu'une table !
Tout le reste du theme est construit en table.
Peut être qu'une table pour ton menu aurait été plus en harmonie avec le reste du code....
Peut être qu'une table aurait été plus tolérante qu'un div....

This post has been edited by dvdmag: 11/12/2009 - 13:41:24
Post PM
Website
Go to the top of the page
corrado
post 11/12/2009 - 15:41:07 |   Post #5
+Reply

Group: Member
Posts: 499
Joined: 25/08/2008

ch 


Je ne sait pas ou je me suis planter
et le passer en table je sait pas comment faire....me suis embraquer dans une histoire encore moi (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_angry.gif)
Post PM
Go to the top of the page
corrado
post 11/12/2009 - 16:23:01 |   Post #6
+Reply

Group: Member
Posts: 499
Joined: 25/08/2008

ch 


sa y ai c'est bon!!!!
je n'avais tous simplement pas fermer ma liste:

Citation
echo"<head>"
. "<link rel=\"stylesheet\" href=\"http://www.cssun.fr/themes/CrAk-v1/menu/menug_style.css\" type=\"text/css\" />"
. "<ul class=\"menu red\">"
. " <li class=\"current\"><a href=\"http://www.cssun.fr/index1.php?file=News\" target=\"_self\">ACCUEIL</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Forum\" target=\"_self\">FORUM</a></li>"
. " <li class=\"current\"><a href=\"http://www.cssun.fr/index1.php?file=Defy\" target=\"_self\">NOUS DEFIER</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Recruit\" target=\"_self\">RECRUTEMENT</a></li>"
. "<li><a href=\"http://www.cssun.fr/index1.php?file=charte\" target=\"_self\">NOTRE CHARTE</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Team\" target=\"_self\">LE STAFF</a></li>"
. " <li><a href=\"http://www.cssun.fr/index.php?file=Links\" target=\"_self\">LIENS WEB</a></li>"
. " <li><a href=\"http://www.cssun.fr/index1.php?file=Gallery\" target=\"_self\">GALERIE</a></li>"
. "<li><a href=\"http://www.cssun.fr/index1.php?file=Guestbook\" target=\"_self\">LIVRE D'OR</a></li></ul>"
."";


il manquais le "</ul>"

This post has been edited by corrado: 11/12/2009 - 16:23:42
Post PM
Go to the top of the page
dvdmag
post 11/12/2009 - 16:27:04 |   Post #7
+Reply

Group: Member
Posts: 3
Joined: 17/04/2006

fr 
Team:
[aB] alphaB


Voici donc une erreur primordiale de corrigée, cependant il en reste encore puisque la source comporte toujours plusieurs balises <head> et </head>.

This post has been edited by dvdmag: 11/12/2009 - 16:32:09
Post PM
Website
Go to the top of the page
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

New
 


RSS Lo-Fi Version
 
Skin © Chapo