How one could create a CSS rule for width which
Uses 100% width by default
If 100% width exceeds certain pixel width (let\'s say 512 px), th
div{ max-width: 512px; }
should suffice.