Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Dynamic Width with CSS only Reply To: Dynamic Width with CSS only

#249915
Beverleyh
Participant

Without knowing details, you could use the ‘width’ or ‘min-width’ CSS properties with a fixed unit value on the container. This should stop the container from shrinking/shrinking past a certain point, BUT, there’s a chance that this will break the layout higher up the DOM and/or generate horizontal scrollbars, which might not be what you want.

To offer more specific help, we’d need to see examples of code in something like codepen.io