At 12:36 AM -0400 6/29/2004, Simon Lord wrote:
How can I turn 0,0,0 into #00 or 255,255,255 into #FF?
Anyone have the secret for converting rgb to webcolors?
Web colors are just 3 base-16 numbers, one for each item of the RGB
numeric color:
put # into theWebColor -- leading #
repeat
Hello,
Anyone have the secret for
converting rgb to webcolors?
It must be in the air ... i have just tackled this
problem myself in the context of creating a WYSIWYG
DHTML editor with MetaCard. :)
Jeanne's solution, below, is the BEST one. It is how
it SHOULD be done. It's what baseConvert
Alain wrote:
I will make the stack available
to y'all before this day ends.
Here it is :
http://ufp.uqam.ca/mc/cspi.sit
It is a suite of MC 2.5 stacks that I have recently
crafted, including my new WYSIWYG MetaCard-to-DHTML
conversion stuff : one final 'product' (sample) and
one generic
Hello,
The dontWrap property when set to false still
won't wrap text which has no spaces in it.
This was my problem.
Try inserting a space in your string
and see if it doesn't work correctly.
This turned out to be the solution. :)
I suppose this could be considered a bug.
Or just