css float is your friend

Many designs I see have text extreme left and right of page. Padding etc is not the way to go.
The way to accomodate this is using css floats.
The important thing is to float clear after your floating (otherwise layout goes awry). If you've floated both left and right previously then you'll need to clear: both
otherwise you can use clear: left/right as appropriate

Comments

Popular posts from this blog

deep dive into Material UI TextField built by mui

angular js protractor e2e cheatsheet

react-router v6.4+ loaders, actions, forms and more