Jump to content
  • 0

Center


Mr.Black
 Share

Question

Здраствуйте,есть небольшая проблема,немогу поставить по центру 3 банера...

Хтмл

<div class="footer_right"  >

<div class="stat" >

</div>
<div class="stat_2" >

</div>
<div class="stat_3" >

</div>

</div>

Ксс

 .footer_right {
position:relative;
float:right;
width:42%;
height:65px;
}

.stat{
background:url("file:///C:/Users/Admin/Desktop/Winamp/Images/stat_bg.png") no-repeat;
width:108px;
height:51px;
position:absolute;
}

.stat_2{
background:url("file:///C:/Users/Admin/Desktop/Winamp/Images/stat_bg.png") no-repeat;
width:108px;
height:51px;
position:absolute;
}

.stat_3{
background:url("file:///C:/Users/Admin/Desktop/Winamp/Images/stat_bg.png") no-repeat;
width:108px;
height:51px;
position:absolute;
}

Отображаются вот так: http://yfrog.com/em35413533p

Нужно так: http://yfrog.com/fx81363842p

Главное чтоб ширина была не точно задана а всегда по центру при любом разшерении.....

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0
там ниже блока навивация ,она как бы обозначена белым бордером
Как мы по картинке можем определить какой тег поправить и какой стиль перенастроить? Телепаты не сидят на форуме программистов. Ссылку на сайт. И никак иначе. Edited by deadrash
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