Do you think ?

73.7% 14
5.3% 1
21.1% 4

19 Дата 26.02.2009 16:43

Форумы / Cotonti / Core Labs / Archive / Опрос: HTML in core - total css-ing

medar
#8913 26.02.2009 16:43
Now our core output many html which not customizable. Often this elements no need on some sites. Example - arrows and forum pictograms. Now they are displayed as follows:
<img src="skins/$skin/img/system/arrow-up.gif" />

I propose replace it by this:
<span class="arrow-up">&nbsp;</span>

In which case we will be able to flexibly adjust the display by css. For example for arrow up:
.arrow-up { background: url(img/system/up.png) no-repeat; padding-right: 13px; text-decoration: none; }


I also propose set unique css-class for each html-element in core output. This will set the display in skin (width of input fields etc) more flexible and helps solve many "html-in-core" problems, without many small tpl-files.
rangjungyeshe.ru
Отредактировано: medar (26.02.2009 16:54, 16 лет назад)