Jump to content

nafanya

Newbie
  • Posts

    4
  • Joined

  • Last visited

Posts posted by nafanya

  1. Как объединить?

    <div class="main">
    <div class="first">
    </div>
    <div class="second">
    </div>
    <div class="third">
    </div>
    </div>

    А потом, например, сделать это вс? дело по центру.

    div.main { 
    width : Xpx;
    height : auto;
    margin : 0px auto;
    padding : 0px 0px;
    border: 1px solid black; //для наглядности
    }

    Спасибо получилось

  2. Уважаемые ГУру!

    подскажите как сделать чтоб выравнять 3 позиции по горизонтали.

    в css файле пишу следующее:

    #header{

    width:984px;

    height:200px;

    position:absolute;

    margin:0 auto;

    left:100px;

    }

    #header1{

    width:600px;

    left: 300px;

    height: 220px;

    position: absolute;

    }

    #header2{

    width:120px;

    left: 880px;

    height: 220px;

    position: relative;

    }

    короче не плавают в зависимоти от размеров окна

×
×
  • 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