Adding Styles with Bootstrap

Bob Schneider
Bob Schneider used Ask the Experts™
How much re-sizing can you do with styles on things like tables, images, and other objects without interfering with their bootstrap properties.  In other words, if I want an image to be mobile responsive, can I re-size it with style="width:150px;" and still have it be a responsive image?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Question: how can it be responsive if you give it a fixed width?
Once you give a width - that is the width.

You can give it a max-width and have it be responsive. This will increase width up to a maximum size and then stop.

Normally we would give it a width 100% so it fits its responsive container - and then let the container control the width of the children - it depends on what you are wanting to achieve

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial