![]() |
|
|
The whitespace property allows you to decide how you want the browser to handle spaces. The supported values are: normal, pre, and nowrap. Set to normal to collapse all the spaces to a single space, set to pre to keep the multiple spaces or set to nowrap to prevent line wrapping unless there is a <br> tag. For example: pre { white-space: pre;}
p { white-space: normal;}
td { white-space: nowrap;}
|
More information whitespace |