Jonathan M. Hollin wrote:
Stas,
:: OK, perhaps you can explain in more details of what do you mean by :: adding nbsp's. Do you always add them, or only when your script learns :: that the widest line in the autogenerated content is not long enough? :: Can you give an algorithm of nbsp's insertion: when, how many.
I presume the site is to be template-based? If so, then you can either script them or just add them to the template. Looking at the WYPUG site I realise that I did the latter (as opposed to scripting the insertion as per my original suggestion), but either way works.
So my template contains the following:
<!-- Table auto-fill --> <!-- end -->
Notice the normal space after each " "? This is really important - without this you end up with one big, non-breaking line. Reduce the screen resolution or window width and, you guessed it, horizontal scroll bars.
So you add it to all pages, no matter how much content do they have.
Sounds like a really smart idea! That most probably fixes the caveat of Thomas' table-less design with "slim" pages. Folks can you please try to apply this? Thanks!
The above looks rather heavy, but the impact on the page is minimal (see ... blah, blah, blah). On high resolution displays (or large window widths) you'll never know they're there. On small windows (or resolutions) you just get a whitespace at the end of the content. It's a kludge I know, but infinitely better than distorted tables.
I'll stress again, if anyone knows of an alternative solution (regardless of the outcome of the mod_perl site design) please let me know.
Regards,
Jonathan M. Hollin - WYPUG Co-ordinator West Yorkshire Perl User Group http://wypug.pm.org/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
_____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
