[TYPO3-hci] <IMG> vs CSS-backgrounds
Georg Ringer
news at ringerge.org
Tue Dec 9 10:02:08 CET 2008
Hi,
Feodor Rykhtik wrote:
> I would like to propose to make BE-icons in TYPO3 joined in one image
> file - to use it like a CSS-Background for each element.
IMO this makes sense for background-images only!
> It's not a secret, what for each image Web-browser will make separated
> request, so when we have 20-30 types of images/per page, it could take
> some time to load all of them.
Out of this reason you should enable the .htaccess to get the expire
headers.
IMO it makes no sense to put all the icons (new, edit, delete,...) into
one image because this would mean we would need to switch all <img
src="new.gif" /> into <span class="btn" id="new">new</span> and add
something like
#id { whatever you need}
This would mean a massive change in many many files!
Georg
More information about the TYPO3-team-hci
mailing list