Emplacement des élement (css)

Emplacement des élement (css) - HTML/CSS - Programmation

Marsh Posté le 06-02-2017 à 02:07:07    

Bonjour,  
 
je travaille en informatique mais ne fais que les réparation, les montages etc..
du coup je n'apprend rien en programmation.
 
je me suis surpris a "m'amuser" en découvrant le web (html / css / php)
 
malheureusement j'ai beaucoup de lacune.
et malgré beaucoup de recherche, je n'arrive pas a trouvé se que je cherche.
 
c'est surement sous mes yeux sans que je le sache et je m'en excuse.
je vous demande donc de l'aide:
 
quand je mets la fenêtré sur un autre écran a plus petite résolution ou en "fenêtrée" mes élément ne sont plus au même endroit. voir les photos.
 
voila mon CSS

Spoiler :

body { /*image de fond et couleur du texte */
background: white url(../divers/images/stretched.png) no-repeat;
 margin: 0 auto;
    background-size: 100%;
 color:white;}
 
h1{ /* regles pour la norme du titre h1 */
 font-family:sm, sans-serif;
 font-size:6em;}
 
small{ /* regles pour la norme du titre h1 */
    font: 2.5em/1em variant;}
 
@font-face{
 font-family:sm;
 src: url(../divers/font/Starjedi.ttf);}
 
@font-face{
 font-family:efect;
 src: url(../divers/font/efect.ttf);}
 
.SandyBrown {color :#ffa64d;
 font-family:efect;
 font-size: 105px;} /* couleur souhaité*/
 
.centrage {position: absolute; /*Titre*/
 top: 7.4%;
 left: 38.7%;}
 
.SousTitre {position: absolute; /*Titre*/
 color :#800000;
 top: 30%;
 left: 63%;
 font-family: Times, serif;}
 
.container img{
 width: 200px;
 height: 200px;
 border-radius: 100%;
 margin-top: -90px;
 margin-bottom: 20px;}
 
.container{
 width: 500px;
 height: 517.5px;
 text-align: center;
 background-color: rgba(20, 20, 20, 0.85);
 border-radius:18px;
 margin: 0 auto;
 margin-top: 19.5%;}
 
input[type="text"],input[type="password"],input[type="email"]{
 height: 45px;
 width: 300px;
 font-size: 18px;
 margin-bottom: 16px;
 background-color: #fff;
 padding-left: 5%;}
 
.btn-login{
 padding: 15px 25px;
 font-size: 21px;
 color: #fff;
 background-color: orangered;
 border-radius:15px;}


 
1920x1080
https://scontent-fra3-1.xx.fbcdn.ne [...] e=589A1131
 
1280x1024
https://scontent-fra3-1.xx.fbcdn.ne [...] e=5899C872
 
fenetré
https://scontent-fra3-1.xx.fbcdn.ne [...] e=589A0177

Reply

Marsh Posté le 06-02-2017 à 02:07:07   

Reply

Marsh Posté le 06-02-2017 à 21:23:54    

UP ! (j'aimerais pouvoir avancer sur mon code)

Reply

Marsh Posté le 06-02-2017 à 21:37:17    

Tu devrais faire attention à ce que tu postes comme captures d'écran...
Je vois

Citation :

Booloo is a free p0rn tube [...]

et

Citation :

The material on [mycherrycrush] is adult oriented and/or sexually explicit, and is related to material of an adult nature.

:o  :lol:

Reply

Marsh Posté le 07-02-2017 à 00:33:06    

ahahahahah, je ferait gaffe ;)
 
mais j'ai quand même mon probleme :(

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed