Jump to content
  • 0

Запуталась в блочной верстке!


Ledok
 Share

Question

https://lh6.googleusercontent.com/-50Vu66rx3-s/UJNrqsMDmjI/AAAAAAAAFBQ/jXYJgQtydS8/s1543/666.gif

пишу сайт на битрикс.

никак не могу опустить логотип вниз, первый раз верстаю div. Помогите разобраться.

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<?$APPLICATION->ShowHead()?>
<title><?$APPLICATION->ShowTitle()?></title>
</head>
<body ><?$APPLICATION->ShowPanel();?>
<div class="b-logo-wrapper"><!-- блок логотип-->
<div class="b-logo"><img src="/bitrix/templates/<? echo SITE_TEMPLATE_ID;?>/images/new-logo.png"> поиск<div class="search" ><?$APPLICATION->IncludeComponent("bitrix:system.auth.form", "template3", Array(
"REGISTER_URL" => "", // Страница регистрации
"PROFILE_URL" => "", // Страница профиля
"SHOW_ERRORS" => "N", // Показывать ошибки
),
false
);?> </div> </div>

</div><!-- /блок логотип-->
<div class="b-menu-wrapper"><!-- блок меню-->
<div class="b-menu">
menu
</div>
</div><!-- /блок меню-->

.b-logo-wrapper {
width: 1280px;/*мин.ширина 1280 для стр.*/
margin: 0 auto;
height: 200px;
}
.b-logo {
width: 100%;/*было 1280px*/
height: 100%;
background: white;
padding: 15px 0px 0px 0px;

}
.b-menu-wrapper { /*основной блок меню*/
width: 100%;
background: #6a6;

}
.b-menu { /*меню середина.*/
height: 35px;
width: 1280px;
margin: 0 auto;

}
.b-content-wrapper { /*основной блок контента.*/
width: 1280px;
margin: 0 auto;
overflow: hidden;
padding: 30px 0px 0px 0px;}
.search { /*регистрация!!*/
float:right;
width:270px;
height:100%;
background: #F5F5F5; /* светло-серый */
border-left:1px solid #1E8A2F;
border-right:1px solid #1E8A2F;
border-bottom:1px solid #1E8A2F;
border-top:1px solid #1E8A2F;
padding: 6px 10px 10px 10px;
-webkit-border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
z-index:1001;}

Link to comment
Share on other sites

1 answer 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