Хочу растянуть главный блок на главной странице в ДЛЕ 9.4 . Сам шаблон был трехколночный, слева узкая - посередине весть контент - справа узкая колонка. Справа я удалил колонку в шаблоне main.tpl . Но сколько не менял значения в ксс, так и не смог растняуть среднюю колонку на правую сторону. то есть контент не хочет идти правее, где был колонка. Вот кусочек кода ксс шаблона:
Где мне поменять что? .rightside я естественно и удалил в main.tpl
Где мне поменять что? .rightside я естественно и удалил в main.tpl
Цитата |
---|
/*wrapbox*/ .wrapbox, .wrapbox, .wraplt, .wraprt, .wrapl, wrapr { width: 100%; } .wrapbox { background: #fff url("../images/wrap_topbg.png") repeat-x 0 0; } .wraplt { background: url("../images/wrap_topleft.png") no-repeat 0 0; } .wraprt { background: url("../images/wrap_topright.png") no-repeat 100% 0; } .wrapl { background: url("../images/wrap_left.png") repeat-y 0 0; } .wrapr { background: url("../images/wrap_right.png") repeat-y 100% 0; } /*СТРУКТУРА БЛОКОВ*/ .container, .leftside, .midside, .rightside, .mainside { overflow: hidden; } .container { padding: 8px 0 0 224px; } .container .midside .container { padding: 0 224px 0 0; } .leftside { display: inline; float: left; width: 224px; margin: 0 0 0 -224px; } .rightside { display: inline; float: right; width: 224px; margin: 0 -224px 0 0; } .midside { float: right; width: 100%; } .mainside { float: left; width: 100%; padding-top: 11px; } table.conts { border-collapse: collapse; border-spacing: 0; border: 0px; width: 100%; } .jiik, .jiik url, .jiik url:hover {text-decoration: none; cursor:text} /*speedbar*/ .speedbar { padding: 0 14px 21px 14px; color: #4f4f4f; background: url("../images/linespeed.png") repeat-x 0 100%; } #pack1, #pack2 {display: none;} .speedbar img { vertical-align: middle; width: 13px; height: 13px; background: url("../images/icons.png") no-repeat -54px 0; margin: -2px 5px 0 0; } |