Jump to content
  • 0

Шапка из 5 элементов


inf
 Share

Question

Здравствуйте, помогите пожалуйста сделать шапку. ( div+css )

<->right.png<->right-center.png<->center.swf<->left-center.png<->left.png<

где right-center.png и left-center.png должны растягиваться под разрешение

Edited by inf
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Картинка того что надо получить есть? Что вы уже сделали для решения задачи и где застряли?

	
<div style=padding-top:10px;>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=376 height=158>
<param name=movie value="/file.swf"><embed src="/file.swf" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width=376 height=158></embed></object>
</div>

Это центр флэшка

___http://cs.ufa-lux.ru/forum/

Edited by inf
Link to comment
Share on other sites

  • 0

Стиль

.header_center {
height:167px;
background-color: #fff;
background-image: url(images/header_center.png);
background-repeat: no-repeat;
background-position: center center;
}
.header_right {
height:167px;
width:167px;
background-position:left;
float:right;
background-color: #fff;
background-image: url(images/header_right.png);
background-repeat: no-repeat;
}
.header_left {
height:167px;
width:169px;
background-position:left;
float:left;
background-color: #fff;
background-image: url(images/header_left.png);
background-repeat: no-repeat;
}
.header_right_center {
height:167px;
width:auto;
background-position:right;
background-color: #fff;
background-image: url(images/header_right_center.png);
background-repeat: repeat-x;
}
.header_left_center {
height:167px;
background-position:center;
background-color: #fff;
background-image: url(images/header_left_center.png);
background-repeat: repeat-x;
}

Шапка

<div class="header_center"><div class="header_left_center">
<div class="header_right"></div><div class="header_right_center">
<div class="header_left"> </div></div>
</div>

Поправьте пожалуйста что не так, как сделать чтоб центральная картинка видимая была, её перекрывают нeader_left_center.png и header_right_center.png

___http://cf.ufa-lux.ru/ итог

Edited by inf
Link to comment
Share on other sites

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