Куча говна / Говнокод #13845 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
.td_first , .two tr:nth-child(1) {
   max-width: 30px;
   width: 30px !important;
}
.td_second, .two tr:nth-child(2) {
   min-width: 60px !important;
   width: expression(this.width < 60 ? 60: true);
   text-align: left;
}
.td_third, .two tr:nth-child(3) {
	text-align: right !important;
	min-width: 100px !important;
	width: expression(this.width < 100 ? 100 : true);
}
.td_fourth, .two tr:nth-child(4) {
	text-align: right !important;
    width: 180px;
}
.td_fifth, .two tr:nth-child(5) {
	width: 6
}

Типичный CSS код моей конторы)

Запостил: sladkijBubaleh sladkijBubaleh, (Updated )

Комментарии (2) RSS

  • Вы не до конца скопировали. Там дальше идёт:
    .lopata {
            
    }
    Ответить
  • Что надо сделать, чтобы селектор nth-child работал вместе с expression'ами? Это же разные версии IE...
    Ответить

Добавить комментарий

Где здесь C++, guest?!

    А не использовать ли нам bbcode?


    8