[Zope3-dev] Links styling

Marius Gedminas mgedmin@codeworks.lt
Mon, 13 Jan 2003 14:21:21 +0200


On Mon, Jan 13, 2003 at 01:02:22PM +0100, Godefroid Chapelle wrote:
> >Also, one thing I really hate about CSS is that it's too easy to mix
> >sizes in pixels with auto sizes, and then boxes will overlap.  That
> >happens here in a number of places when the window is too narrow.  It
> >should get a horizontal scroll bar if it really doesn't fit, but first
> >it should try to fold text rather than make it stick out of the boxes.
> >
> >Examples:
> >
> >- The tree widget in "navigation" can have long name
> >  (e.g. ++etc++Services) that don't fit if the window is too narrow
> >
> >- When showing the configuration
> >  (/++etc++services/Packages/default/configure, the service boxes
> >  stick out of their surrounding box on the right
> >
> >- Ditto for the content listing of the default package.
> 
> Alexander, do you know a way to have the boxes grow with not wrappable 
> lignes ?

I haven't looked at the current CSS, but maybe min-width/max-width
properties would help?

BTW I think line wrapping is better than excessive horizontal scrolling.

Marius Gedminas
-- 
The memory management on the PowerPC can be used to frighten small children.
		-- Linus Torvalds