Jump to content
  • 0

как вставить текст снизу на фоновое изображение


ryslan
 Share

Question

<!DOCTYPE html>

<html>

    

<head>

     <title>Создание Сайтов</title>    

     <meta charset="windows-1251">

     <link rel="stylesheet" href="css/main.css" type="text/css">

</head>    

<body>

 

<div id="page_aligen">

    

     <div id="shapka">

        

         <a href="Glavnaya" class="cvet" >Главная </a>

          <a href="Ceni" class="cvet">Цены</a>

          <a href="Docky" class="cvet">Документы</a>

          <a href="kontakti" class="cvet">Контакты</a>

          <a href="Npishute" class="cvet">Напишите нам</a>

          <a href="Zakaz" class="cvet1">Закажите</a>

         </div></div> 

<div  id="conteiner" >

<img src="im/bg-head.jpg" class="fon" />

<p id="sodan">Создание Сайтов</p>

 <div id="sait">

 <a href="sait-start" id="sait-start">Онлайн заявка</a>

</div>

         

       

        

       </div>

    

 

</body>   

</html> 

 

 

CSSSSSSSS————-->

 


 

#shapka {

    margin-top: 50px;

    height: 40px;

    width: 100%;

    padding: 10px 0px 10px 50px;

    font-size: #444;

    border-top: #f50505 3px solid;

    background: #555;

   position: fixed;

   top: 0;

  z-index: 101;

}

.cvet {

     padding: 10px 20px 20px 10px;

    font-size: 25px; color:#fff;

  text-decoration: none;

}

.cvet:hover {

    background: #f50505;

}

.cvet1 {

     padding: 10px 10px 10px 10px;

    font-size: 25px; color:#fff;

  text-decoration: none;

    margin:0px 110px 0px 200px;

}

.cvet1:hover {

    background: #f50505;

}

        

      

 

.fon{

 width: 100%;

   

}

 

 

 

 

 

 

 

 

 

#top {

  

}

 

#sait-start {

    margin: 0px 0px 10px 20px;

  

    font-size: 24px; color: #6a6060;

    

   

    text-decoration: none;

   

    

}

#sodan {

  font-size: 50px;

}

 

#sait{

    height: 60px;width: 200px;border: 1px #555 solid;

    border-radius: 10px;

    margin: 0px 0px 20px 110px;

}

 

 

 

 

 

 

 

 

#fon {

    width: 100%; 

    

}

 


 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy