![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
PatD wrote: What I would like, however, is a solution do cut them down, so they surround their content, obviously, but not more than needed. Use the width property. Specifying a width like "50%" seems to apply to the container width too, which would again be the window, and not very flexible since it ignores the content entirely... No no, specify it on the element. And don't use percent. Since it will contain text labels, use em (or ex) units. Perhaps specify a max-width if this stylesheet will be used with pda's or the like. fieldset { width: 8em ; max-width: 95% ; } |
.![]() |
| Thread Tools | |
| Display Modes | |
| |