PITS /
00860: Add min and max width and height, clear; to [[PmWiki/Tables|table]], div, block, and [[PmWiki/WikiStyles|style]] directives
Created: 2007-01-10 00:27
Status: Closed - added for 2.2.68
Category: Feature
From: simon
Assigned:
Priority: 3
Version: 2.0 beta
OS: n/a
- Description
- Wherever the width=123pct or width:auto type of directive is allowed could you please also allow
min-width and max-width. [1] [2]
Similarly for height, please permit min-height and max-height. [3] [4]
Also please add support for the clear:right, clear:left, and clear:both. [5]
%rframe%Tahi %rframe%Rua %rframe clear=right%Toru %rframe clear:right%Wha %lframe clear:left%Rima %lframe clear=left%Ono %rframe clear=both%Whitu %lframe clear:both%Waru |
Tahi Rua Toru Wha Rima Ono Whitu Waru |
Please allow quoted attributes, viz
(:table style="width:100%; border:thin dotted red;":) (:cellnr:)Left%rframe%Right works (:tableend:) (:table style="width:'100%'; border:'thin dotted red';":) (:cellnr:)Left%rframe%Right still doesn't work (:tableend:) | ||
|
min-width and max-width
(:table style="width:100%; border:thin dotted red;" border=1:) (:cellnr:)text (:cell:)short text (:cell max-width:25% :) long text that is intended to exceed 25% of the table and thus wrap. (:tableend:) (:table style="width:100%; border:thin dotted blue;" border=1:) (:cellnr:)text (:cell:)short text (:cell style="max-width:25%;" :) long text that is intended to exceed 25% of the table and thus wrap. (:tableend:) | ||||||
|
Use cell width=25%
(min-width and max-width cannot be used for table cells, see standard). --Petko January 17, 2020, at 08:58 AM
(:table style="width:100%; border:thin dotted blue;" border=1:) (:cellnr:)text (:cell:)short text (:cell width=25% :) long text that is intended to exceed 25% of the table and thus wrap. (:tableend:) | |||
|
See also