Want to share some code for your html/xhtml def's.

When testing/developing in html sometimes you need simple images. For this I'm
using the service from http://placehold.it/. It's fast and easy to use.

Add this to your html/xhtml def's:

%width1%=@E width,,,
%height1%=@E height,x,
%bcolor%=@L backgr,/,
%tcolor%=@L color=,/,
%text%=@E Text=,&text=,

[img | image placehold.it]
<img src="http://placehold.it/%width1%%height1%%bcolor%%tcolor%%text%"; (all the
other  parts if needed) />
|

Take care:
- colors must be in hex without #
- blank in text must be replaced with + (my+custom+text)

please read the specs at http://placehold.it/
If there are any suggestions, let me know.

regards Manfred

-- 
PSPad 4.5.7 (2449)

<http://forum.pspad.com/read.php?2,52056,59944>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem