Copy link to clipboard
Copied
Bonsoir,
Alors je créer un design a partir de deux templates de sites différents.
j'ai réussi a avoir le design que je veux mais quand je met dans photos dans un certain style, le fichier CSS que je viens d'intégrer me bloque mon menu de navigation (Cf photos)
Une idée que problème qu'il peut y avoir? Je ne pense pas que ce soit dans le codage html mais dans le codage CSS (sauf que la j'y connais rien)
Site avec la barre de menu (sans ajouter le ficher CSS dans le codage HTML)
Fichier CSS intégré dans le codage (zone sélectionnée)
Apres insertion du fichier CSS, les photos marchent mais la barre de menu disparait (si j'enlever le fichier CSS, les photos ne fonctionne pas)
Un idee? Je peux envoyer le codage CSS si besoin.
Je suis complètement bloqué,
Merci de votre aide.
The problem is that you are calling the Bootstrap library three times, namely
As it happens, the nature of CSS documents rules that the last style rule over-rides previous style rules that target the same identifier(s).
The big problem in your case is that the latter of the three stylesheets is written for Bootstrap 3, while the former two are written for Bootstrap 2
A further look at CE.html shows that there is a problem starting at 278 and ending at 294 where there is a stray ending main tag (</main> and a stray ending body tag (</body>).
Suggestions:
Copy link to clipboard
Copied
Bonsoir,
Alors je créer un design a partir de deux templates de sites différents.
j'ai réussi a avoir le design que je veux mais quand je met dans photos dans un certain style, le fichier CSS que je viens d'intégrer me bloque mon menu de navigation (Cf photos)
Une idée que problème qu'il peut y avoir? Je ne pense pas que ce soit dans le codage html mais dans le codage CSS (sauf que la j'y connais rien)
Site avec la barre de menu (sans ajouter le ficher CSS dans le codage HTML)
Fichier CSS intégré dans le codage (zone sélectionnée)
Apres insertion du fichier CSS, les photos marchent mais la barre de menu disparait (si j'enlever le fichier CSS, les photos ne fonctionne pas)
Un idee? Je peux envoyer le codage CSS si besoin.
Je suis complètement bloqué,
Merci de votre aide.
The problem is that you are calling the Bootstrap library three times, namely
As it happens, the nature of CSS documents rules that the last style rule over-rides previous style rules that target the same identifier(s).
The big problem in your case is that the latter of the three stylesheets is written for Bootstrap 3, while the former two are written for Bootstrap 2
A further look at CE.html shows that there is a problem starting at 278 and ending at 294 where there is a stray ending main tag (</main> and a stray ending body tag (</body>).
Suggestions:
Copy link to clipboard
Copied
A link to your site will help us tremendously
Copy link to clipboard
Copied
Yes sorry, it's this one Bootstrap Shortcodes and Typography
and this one Bootstrap Shortcodes and Typography
Copy link to clipboard
Copied
Please rrepair your code errors in both versions.
Showing results for http://www.modani-paris.com/CE.html - Nu Html Checker
Showing results for http://www.modani-paris.com/CE-Presta.html - Nu Html Checker
Copy link to clipboard
Copied
The problem is that you are calling the Bootstrap library three times, namely
As it happens, the nature of CSS documents rules that the last style rule over-rides previous style rules that target the same identifier(s).
The big problem in your case is that the latter of the three stylesheets is written for Bootstrap 3, while the former two are written for Bootstrap 2
A further look at CE.html shows that there is a problem starting at 278 and ending at 294 where there is a stray ending main tag (</main> and a stray ending body tag (</body>).
Suggestions:
Copy link to clipboard
Copied
Yes that must be the problem,
All my site is in bootstrap 2 except a part that is in bootstrap 3
I am a beginner in HTML files ...
Is it possible to go from bootstrap 3 to 2?
Thank you !
Copy link to clipboard
Copied
Do you know the current version is Bootstrap 4.1?
Bootstrap 2 is several years out of date and no longer being updated.
Bootstrap 3.7 is a good choice if you need to support older browsers (before IE 10). Otherwise, you should start learning to work with Bootstrap 4.1 which uses Flexbox for layouts instead of floats.
Do not mix BS2 with BS3 or BS4 code. Chose only 1 version.
https://getbootstrap.com/docs/4.1/getting-started/introduction/