Jump to content

borzometr

Newbie
  • Posts

    1
  • Joined

  • Last visited

borzometr's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. CSS файл: table.listform {border-collapse:collapse; } .listform tr.sectiontableheader { font-weight:bold; vertical-align:middle; background-color:#eaeeff; } .listform td {padding:0px 1px 0px 1px; height:18px; vertical-align:middle; border:1px solid #eaeeff; font-size:11px;} .listform .sectiontableheader th { text-align:center; vertical-align:middle; text-transform:none; background-color:#296599;} #cityh td{ width:100px; text-align:center;} #cityhr .listform .sectiontablefooter td, .pagenav, .sectiontablefooter { text-align:center; } .listform .date { /*white-space:nowrap;*/ font-weight:normal; text-align:center; width:100px; font-size:11px; padding:1px 10px 1px 10px;} .listform .year, #listform .photo, #listform .color, #listform .price, #listform_engine, #listform .mileage, .listform #views { text-align:center; /*white-space:nowrap;*/ } .listform .title { width:190px; text-align: left; white-space:nowrap; } /* 11 строка*/ .listform .title a:hover { text-decoration:underline;} .listform .photo { width:50px; text-align:center} .listform .price { width:100px; text-align:center} .listform .engine { width:80px; text-align:center} .listform .year { width:65px; text-align:center } /*16 строка*/ #cityh { width:100px; text-align:center;} #cityhr, #cityhr a:link { width:100px; text-align:center; color:#FF0000; font-weight:bold; text-decoration:underline; } .listform .city { width:100px; text-align:center; text-decoration:underline;} .listform .city_act { width:100px; text-align:center; } .listform .mileage { width:75px; font-weight:bold; text-align:center} .listform .color { width:75px; text-align:center} #datepub { width:auto; text-align:center} .sectiontableentry1, .listform .sectiontableentry1 #createdate { background-color:#eaeeff;} .sectiontableentry2, .listform .sectiontableentry2 #createdate { background-color:#ffffff;} .listform .sectiontablefooter select.inputbox {} .listform .unsticked, #listform .sticked {margin-left: 5px;} php файл: <?php if(!$id and $task!='myads') mosLoadModules ( 'alist', -2 ); ?> <table class="listform" id="myTable" align="center"> <thead> <tr><td colspan="13" align="center"><noindex><?php echo '<img src="Путь к изображению" style="vertical-align: bottom;"> <img src="еще один путь" style="vertical-align: bottom;">'; ?></noindex></td></tr> <tr class="sectiontableheader"> <?php if (($task=='myads' or $id) and $pageNav->total) {//заголовок действий ?> <th></th> <?php if (($task=='myads' and $my->id) or ($id and $my->id==$rows[0]->userid)) { ?> <th></th><th></th> <?php } }?> <th class="flag" > </th> <?php if( $myConfig->show_photos ) { ?> <th class="photo" axis="number">Номер</th> <?php } ?> <th class="title" axis="string">Модель</th> <?php if( $myConfig->show_price ) { ?> <th class="price" axis="number">Цена</th> <?php } ?> <?php if( $myConfig->show_year ) { ?> <th axis="number" class="year">Год</th> <?php } ?> Суть проблемы: в <th> ячейки (Номер, Модель, Цена, Год(второй листинг)) мне нужно применить стили с 11 по 16 строку (1 листинг). В чем ошибка?
×
×
  • 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