Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Ooops... let me take that back... That was extraneous text being clipped... not the image. OK, so the actual image does scale down. I reduced my height to somethign reasonable for header and went with WIDTH=100%. I think this should get me what I want for the short run. Thanks for taking th

Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Thanks Jesse, Wanted to let you know that the scaling down fails. I went with... div#header { color: black; clear: both; padding: 0; height: 15%; width: 100%; background: #fff url( images/trails-header94.jpg ) top left no-repeat; } And the image

Re: JSON help... image scaling onRender

2007-08-14 Thread Ken nashua
Thanks Jesse, Well I was hoping to find an end to end JSON example... just snippets around... no one really has shown substantial usage of that. For my solution though... Currently this is what we got in css (the main reason why I wanted to go with JSON)... div#header { color: blac

Re: JSON help... image scaling onRender

2007-08-13 Thread Jesse Kuhnert
Make your image very large by default (or however large the largest box would ever be) and let the browser scale it down for you automatically. Nothing can make images scale up, but almost anything can do a reasonable job at going down.. This should all be possible with 0 help from tapestry /

JSON help... image scaling onRender

2007-08-13 Thread Ken nashua
Folks, I want to operate JSON during Basically I have a Border.html that operates a custom which renders a header image. But my header images are not scaling to the exact size of the box. So I would like to operate JSON during ONLOAD in order to ask the server what the actual size of