Я вынужден заниматься программированием "между делом", но регулярно... потому здесь об администрировании Windows, Linux... и веб-мастеринге LAMP, WAMP, Java, JScript, jQuery, CSS, Google API, Drupal, Moodle...
Обтекаемый пустой блок Ссылка на видео, Ссылка на аудио (инструкции), Слайд-шоу
Краткое содержание (постановка задачи), результаты
>
<b:includable id='main'> <!-- my hack --> <b:if cond='data:blog.url != data:blog.homepageUrl'> <b:if cond='data:useImage'> <b:if cond='data:imagePlacement == "BEHIND"'> <!-- Show image as background to text. You can't really calculate the width reliably in JS because margins are not taken into account by any of clientWidth, offsetWidth or scrollWidth, so we don't force a minimum width if the user is using shrink to fit. This results in a margin-width's worth of pixels being cropped. If the user is not using shrink to fit then we expand the header. --> <b:if cond='data:mobile'> <div id='header-inner'> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> <b:else/> <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: " + data:backgroundPositionStyleStr + "; " + data:widthStyleStr + "min-height: " + data:height + "_height: " + data:height + "background-repeat: no-repeat; "' id='header-inner'> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> <b:else/> <!--Show the image only--> <div id='header-inner'> <a expr:href='data:blog.homepageUrl' style='display: block'> <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/> </a> <!--Show the description--> <b:if cond='data:imagePlacement == "BEFORE_DESCRIPTION"'> <b:include name='description'/> </b:if> </div> </b:if> <b:else/> <!--No header image --> <div id='header-inner'> <div class='titlewrapper'> <h1 class='title'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> </b:if><!--My hack end --> </b:includable>
Как убрать из трех колонок шаблона Blogger Simple левую боковую панель при загрузке тематических страниц (метки, labels), все боковые пенели при загрузке постов (items)
В XHTML шаблоне есть теги <aside>(которые пока не используются). Скачиваем шаблон, в текстовом редакторе задаем поиск <aside> и вставляем в шаблон дополнения (красный цвет на вкладках). Все просто..., однако, нам нужно будет еще внести изменения в таблицы стилей CSS.