[Typo3] how can i generate transparent PNG-files with partial transparency?
JoH
info at cybercraft.de
Sat Sep 10 10:43:48 CEST 2005
> for my current typo3-project i need to generate Headers and Buttons as
> PNG-File with transparent background - this is necessary in order to
> place those generated images above further images which then
> -hopefully- shine through. read on, please :-)
Render the background image _and_ the text combined in one picture and use
this as a background for the text.
Use plain text for the text instead of an image and place it inside a <span>
or <div> to assign the background to it.
Then you can "remove" the original text with CSS.
This way you don't have any transparency related problems and there are lots
of them ;-)
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau
More information about the TYPO3-english
mailing list