Fixer ascenseur (scrollbar)

Résolu/Fermé
CedNad8 Messages postés 13 Date d'inscription vendredi 7 mars 2014 Statut Membre Dernière intervention 10 mars 2014 - 7 mars 2014 à 02:21
CedNad8 Messages postés 13 Date d'inscription vendredi 7 mars 2014 Statut Membre Dernière intervention 10 mars 2014 - 7 mars 2014 à 16:11
Bonjour à tous

Je cherche désespérément un code HTML pouvant fixer les scrollbar de droite et du bas. En gros je souhaite que ma page soit totalement fixe sur l'écran de base.

Ma page HTML est très simple : Une image de fond + un pdf (aligné à droite)

J'ai trouvé le code suivant :
<style type="text/css">
html, body {
overflow: hidden;
}
</style>

Mais mon document pdf s'aligne sur la gauche dès que je rentre ce code !

SVP I NEED HELP

Merci d'avance.

Ci dessous, la totalité de mon code...
-------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<style type="text/css">
html, body {
overflow: hidden;
}
</style>

<head>

<title>Test</title>

</head>

<BODY BACKGROUND="photo.jpg">

<DIV align=right>

<iframe src=Fichier.pdf" width="667px" height="600px"></iframe>

</body>

</html>
A voir également:

2 réponses

animostab Messages postés 2829 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 11 novembre 2019 738
7 mars 2014 à 14:45
Salut

tu fais

<!DOCTYPE html>

<html>
<head>
<title>Test</title>

<style type="text/css">
body {
background-image:url(photo.jpg);
heigth:100%;
background-size:cover;
}

#monpdf {
float:right;
width:667px;
height:600px;
}
</style>

</head>
<body>

<div id="monpdf">
<iframe src=Fichier.pdf" width="667px" height="600px"></iframe>
</div>

</body>
</html>

0
CedNad8 Messages postés 13 Date d'inscription vendredi 7 mars 2014 Statut Membre Dernière intervention 10 mars 2014
7 mars 2014 à 16:11
Parfait, t'es un chef !
MERCI !!
0