[pmwiki-users] Srolling boxes

John Rankin john.rankin at affinity.co.nz
Wed Jun 7 17:06:10 CDT 2006


On Wednesday, 7 June 2006 5:53 PM, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:
>On Wed, Jun 07, 2006 at 04:27:51PM +1200, John Rankin wrote:
>> On Wednesday, 7 June 2006 3:26 PM, pmwiki at 911networks.com wrote:
>> >>> for making boxes, Is there a way to keep it from expanding and 
>> >>> making it scroll if it's wider than the screen?
>> >> 
>> >> add width=650px overflow=auto and that should do it.
>
>> Well, it's really a CSS trick rather than a pmwiki feature.
>> 
>> Still, it's sufficiently useful that it perhaps ought to be an
>> example in the wiki styles documentation. Or even a feature of
>> the default pmwiki style sheet for the <pre> tag... Going to a
>> wiki page with a long line of preformatted text is an unhappy
>> experience.
>
>Agreed that it is an unhappy experience, however if it is put into the
>default pmwiki style sheet for the <pre> tag, I would *beg* that the
>width be given in ems and not pixels.  Fixed widths in pixels are a Bad
>Thing.

OK, lead me by the hand, please. The horizontal scroll bar is desirable
because of the physical constraint of screen width, not the relative
text size. So isn't pixels a better measure? Or is that a really
dumb question?
>
>Kathryn Andersen
>(delurking)
>-- 
> _--_|\     | Kathryn Andersen	<http://www.katspace.com>
>/      \    | 
>\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
>      v     | 
>------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
>Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe
>


John (who wants a NZ ascii map signature with a * over Wellington)

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list