Показать сообщение отдельно
  #2 (permalink)  
Старый 14.06.2012, 06:56
что-то знаю
Отправить личное сообщение для devote Посмотреть профиль Найти все сообщения от devote
 
Регистрация: 24.05.2009
Сообщений: 5,176

Сообщение от Undecided
Необходимо, чтобы они вели себя подобно таблице с двумя ячейками.
а в чем проблема юзать таблицу?
<style>
    .row {
        display: table-row;
    }
    .row div {
        display: table-cell;
        border: 1px solid #000;
        width: 150px;

        /* какашка для ИЕ7 эмулирует table-cell */
        height: expression((function(t,i,h,e){
            i=h=e=0;t.style.styleFloat='left';while(e=t.parentNode.children[i++]){h=(e.offsetHeight>h?e.offsetHeight:h)};
            return(h-(parseInt(t.currentStyle.borderTopWidth)||0)-(parseInt(t.currentStyle.borderBottomWidth)||0)-
            (parseInt(t.currentStyle.paddingTop)||0)-(parseInt(t.currentStyle.paddingBottom)||0))+"px"
        })(this));
    }
</style>
<div class="row">
    <div>
        many text here lala<br/>
        many text here lala<br/>
        many text here lala<br/>
        many text here lala<br/>
        many text here lala<br/>
        many text here lala<br/>
        many text here lala<br/>
    </div>
    <div>23</div>
</div>
__________________
хм Russians say завтра but завтра doesn't mean "tomorrow" it just means "not today."
HTML5 history API рассширение для браузеров не поддерживающих pushState, replaceState
QSA CSS3 Selector Engine

Последний раз редактировалось devote, 14.06.2012 в 07:54.
Ответить с цитированием