Jump to content
  • 0

Выравнивание!


ELBegemotos
 Share

Question

В чем ошибка не пойму...

Вот сайт - http://nyashki-tv.ru/forum/7-33-1

Хотел выровнить аватарку пользователей да не получается в чем проблема не могу понять.Вторая проблемка- не смог чтобы кнопочки профиль и тд были всегда снизу то есть выравнивались по самому низу каждой из потосв!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Часть кода со страницы:

<div class="f_r_material_left">
<span><img alt="" class="f_u_avatar" title="Ventus_plitheon" src="/root/images/main/no_avatar.png"></span>
<span><img alt="" style="margin:0;padding:0;border:0;" name="groupIcon" src="http://www.nyashki-tv.ru/templates/images/users_icon/vip.png" title="Друзья"></span>
<span class="addition_about_user">
asdasd
</span>
</div>

Разумнее всего добавить к <span> класс например "user_avatar"

Просто сделать так:

<div class="f_r_material_left">
<span class="user_avatar"><img alt="" class="f_u_avatar" title="Ventus_plitheon" src="/root/images/main/no_avatar.png"></span>
<span><img alt="" style="margin:0;padding:0;border:0;" name="groupIcon" src="http://www.nyashki-tv.ru/templates/images/users_icon/vip.png" title="Друзья"></span>
<span class="addition_about_user">
asdasd
</span>
</div>

CSS код будет такой:

.user_avatar {
margin:0 auto;
width: 150px;}

Edited by vska.hacker
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