Page 1 of 1

style definitions within .tpl files

Posted: Mon Mar 14, 2005 12:43 am
by hollow
Hello,
some .tpl files contain hardcoded style tags (i.e. plugin_calendar.tpl uses style="width: 100%" in the containing table). Isn't this considered to be bad style, because this normally should be part of the css file?

Regards,
hollow

Re: style definitions within .tpl files

Posted: Mon Mar 14, 2005 4:19 pm
by garvinhicking
Yes, this is bad style.

However we need to have it that way to stay backwards compatible with all the themes created out there; otherwise everyone needs to edit his template to put the "width" stuff into his CSS file.

The "width" doesn't really negatively affect the other CSS code, so it should just be a minor issue.

Regards,
Garvin