Alignement horizontal en css
tipi75
Messages postés
723
Statut
Membre
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour,
Voici mon script:
<html>
<head>
<title>page test</title>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$(document.body).click(function () {
if ($("div:first").is(":hidden")) {
$("div").show("slow");
} else {
$("div").slideUp();
}
});
});
</script>
<style>
div {left:55%;
top:20%;
margin: 3px;
margin-left: 700px;
width:8.5%;
height:5%;
background:#3d9a44;}
</style>
</head>
<body>
Click me!
<div></div> <div></div><div></div><div></div><div></div>
</body>
</html>
Je souhaiterai un alignement horizontal ( le contraire de ce qui est représenté) mais je ne trouve pas.
Merci de votre aide
Voici mon script:
<html>
<head>
<title>page test</title>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$(document.body).click(function () {
if ($("div:first").is(":hidden")) {
$("div").show("slow");
} else {
$("div").slideUp();
}
});
});
</script>
<style>
div {left:55%;
top:20%;
margin: 3px;
margin-left: 700px;
width:8.5%;
height:5%;
background:#3d9a44;}
</style>
</head>
<body>
Click me!
<div></div> <div></div><div></div><div></div><div></div>
</body>
</html>
Je souhaiterai un alignement horizontal ( le contraire de ce qui est représenté) mais je ne trouve pas.
Merci de votre aide
A voir également:
- Alignement horizontal en css
- Ecran horizontal - Guide
- Alignement tête d'impression canon pixma mg3650 - Forum Imprimante
- Alignement manuel de la tête d'impression d'une canon 3650s. - Forum Imprimante
- Css ligne horizontale ✓ - Forum CSS
- Filtre horizontal excel ✓ - Forum Bureautique