OVH Cloud OVH Cloud

rendre compatible un site

6 réponses
Avatar
J-F Portala
Bonjour,
j'ai développe un intranet qui fonctionne avec IE.

Je commence àa trouver ce navigateur un peu pénible vis a vis de certaines
fonctionnalités et conformités.
J'ai donc essayé firefox et là patatras, le site est tout moche , les
polices sont bizarres, et les tableaux
aussi.

Bref, c'est pas terrible.

J'ai quan même travaillé avec des feuilles de style et je me dis que tout
n'est peut être pas perdu.

Est ce que dans mon cas, il faut charger une feuille de style en fonction du
naviagteur (j'ai déjà vu des script en javascript
qui permettait de recupérer le navigateur)

Existe t il un tableau permettant de mettre les bons attributs pour chaque
navigateur?

Merci
Jeff

6 réponses

Avatar
Pierre Goiffon
Similar to Vietnamese style fried rolls, they have lots of meat
(of course this can consist of chicken, beef, pork, or shrimp).
Who can resist this classic appetizer; or light lunch served with
a fresh salad? Versatility is probably this recipe?s greatest virtue,
as one can use the best part of a prime, rare, yearling, or the
morticians occasional horror: a small miracle stopped short by a
drunk driver, or the innocent victim of a drive-by shooting...

2 cups finely chopped very young human flesh
1 cup shredded cabbage
1 cup bean sprouts
5 sprigs green onion, finely chopped
5 cloves minced garlic
4-6 ounces bamboo shoots
Sherry
chicken broth
oil for deep frying (1 gallon)
Salt
pepper
soy & teriyaki
minced ginger, etc.
1 tablespoon cornstarch dissolved in a little cold water
1 egg beaten

Make the stuffing:
Marinate the flesh in a mixture of soy and teriyaki sauces
then stir fry in hot oil for till brown - about 1 minute, remove.
Stir-fry the vegetables.
Put the meat back into the wok and adjust the seasoning.
De-glaze with sherry, cooking off the alcohol.
Add broth (optional) cook a few more minutes.
Avatar
Xavier Robin
375° until crispy golden brown.
Remove and place on paper towels.



Holiday Youngster

One can easily adapt this recipe to ham, though as presented,
it violates no religious taboos against swine.

1 large toddler or small child, cleaned and de-headed
Kentucky Bourbon Sauce (see index)
1 large can pineapple slices
Whole cloves

Place him (or ham) or her in a large glass baking dish, buttocks up.
Tie with butcher string around and across so that he looks like
he?s crawling.
Glaze, then arrange pineapples and secure with cloves.
Bake uncovered in 350° oven till thermometer reaches 160°.



Cajun Babies

Just like crabs or crawfish, babies are boiled alive!
You don?t need silverware, the hot spicy meat comes off in your hands.

6 live babies
1 lb. smoked sausage
4 lemons
whole garlic
2 lb. new potatoes
4 ears corn
1 box salt
crab boil

Bring 3 gallons of water to a boil.
Add sausage, salt, crab boil, lemons and garlic.
Drop potatoes in, boil for 4 minutes.
Corn is added next, boil an additional 11 minutes.
Put the live babies into the boiling water and cover.
Boil till meat comes off easily with a fork.



Oven-Baked Baby-Back Ribs

Beef ribs or pork ribs can be used in this recipe,
and that is exactly what your dinner guests will assume!
An excellent way to expose the uninitiated to this highly misunderstood
yet succulent source of protein.

2 human baby rib racks
Avatar
Mac Larinett
The taste of young human,
although similar to turkey (and chicken) often can be wildly
different depending upon what he or she has consumed during its
10 to 14 months of life...

4 well chosen cutlets (from the breasts of 2 healthy neonates)
2 large lemons (fresh lemons always, if possible)
Olive oil
Green onions
Salt
pepper
cornstarch
neonate stock (chicken, or turkey stock is fine)
garlic
parsley
fresh cracked black pepper

Season and sauté the cutlets in olive oil till golden brown, remove.
Add the garlic and onions and cook down a bit.
Add some lemon juice and some zest, then de-glaze with stock.
Add a little cornstarch (dissolved in cold water) to the sauce.
You are just about there, Pour the sauce over the cutlets,
top with parsley, lemon slices and cracked pepper.
Serve with spinach salad, macaroni and cheese (homemade) and iced tea...



Spaghetti with Real Italian Meatballs

If you don?t have an expendable bambino on hand,
you can use a pound of ground pork instead.
The secret to great meatballs, is to use very lean meat.

1 lb. ground flesh; human or pork
3 lb. ground beef
1 cup finely chopped onions
7 - 12 cloves garlic
1 cup seasoned bread crumbs
½ c
Avatar
J-F Portala
Merci à tous pour votre aide

Je viens de passer du temps avec le validateur, mais
je n'arrive pas à le faire fonctionner.

Mes pages sont en PHP.
J'ai donc affiché, et sauvegarde la source en fichier.html mais il n'en veut
pas.
Voici le message.
Sorry, I am unable to validate this document because its content type is
text/plain, which is not currently supported by this service

Voici la page que j'envoie:
Je vous avoue que j'ai copie/colle un entete de page web pour le coller dans
mes pages sans trop me soucier de
son importance. Je ne sais pas si c'est lié, mais je vais faire un tour coté
openweb.

<!doctype html public "-//W3C//DTD HTML 4.01 //EN">
<HTML>
<HEAD>
<title>Identification de l'utilisateur</title>
<link rel="stylesheet" type="text/css" href="general.css">
</HEAD>
<body>
<div id="form-classic"><form action="http://localhost/login.php"
method=post>
<p id="title">Identification de l'utilisateur</p>
<div id="row"><span id="label">Opérateur :</span>
<span id="value">
<select name="usercode">
<option value="1">administrateur
<option value="2">raphael
<option value="3">cyril
<option value="4">ribaud
<option value="5">thierry
<option value="6">pascal
<option value="7">Mirella
</select></span></div>
<div id="row"><span id="label">Mot de passe :</span>
<span id="value"><input type="password" name="password"></span></div>
<div id="row"><p style="text-align:center;"><input type="submit"
value="Valider" ></p>
<input type=hidden name="Mode" value=1></div></form></div>
</BODY>
</HTML>


Jeff
Avatar
Pierre Goiffon
J-F Portala wrote:
Mes pages sont en PHP.
J'ai donc affiché, et sauvegarde la source en fichier.html mais il n'en veut
pas.
Voici le message.
Sorry, I am unable to validate this document because its content type is
text/plain, which is not currently supported by this service



Pourquoi ne pas lancer le validateur directement sur la page PHP ?

Le message d'erreur indique que votre serveur envoit dans les entêtes
HTTP un content-type à text/plain, alors qu'il devrait envoyer
text/html... C'est un prb de configuration du serveur, donc.
Avatar
Peter Pan
J-F Portala wrote:
Mes pages sont en PHP.
J'ai donc affiché, et sauvegarde la source en fichier.html



Pierre t'a posé une juste question à 15h50 mais je crois qu'il serait
mieux de te donner une réponse : le code PHP, exécuté sur le serveur,
génère du code HTML. Il est donc inutile de faire cette manip.

En d'autres termes, en indiquant au validateur www.monsite.com/page.php
le validateur (ou le navigateur, le serveur) va recevoir du code HTML
correspondant à celui généré par page.php
L'extension .php indique à ton serveur (où est placé page.php)
d'interpréter du code PHP, celui-ci générant ce que tu y mets.

<form action="http://localhost/login.php" method=post>



Préfère les URL relative :
action="login.php"
(surtout que là tu indiques un fichier en local !)

Voire un formulaire récursif :
action="<?php echo $_SERVER['PHP_SELF']?>"
dont le raccourci (que j'utilise) s'écrit :
action="<?= $_SERVER['PHP_SELF']?>"
qui permet à la même page d'interpréter les post données.

<p style="text-align:center;">



Quand il n'y a qu'un style, inutile de mettre le point-virgule.
Pour le reste, je pense qu'en enregistrant - à tort - ta page en HTML et
en la téléchargeant, tu as balancé du mauvais code (je pense aux sauts
de ligne pas glop).

--
Pierre
http://www.1966.fr/