Generating a spacer gif on the fly
Peter Maas
peter.maas at mplusr.de
Wed Oct 9 06:38:54 EDT 2002
Max M schrieb:
> Hi
>
> I am writing an app where it would be practical to have a function that
> generates a spacer gif in a given color::
>
> def spacer(color=''):
> "Generates a 1x1 pixel gif with color, no color means transparent"
>
Are you writing a web app? Then it would be better to use CSS positioning
(position: absolute | relative) instead of old-fashioned spacer gifs.
Mit freundlichen Gruessen,
Peter Maas
--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------
More information about the Python-list
mailing list