Advanced Mobile html Question

Hey html experts: How do you get a desktop webpage that has a left and right side bar to show the only the middle content when the browser shrinks down to mobile size?

I know it is all about the div float, but what is the div code to not show the sidebars?

Can you give me an example of a web address?

:wave:

Use CSS media queries to target the max-width for which you want the sidebars to be hidden and CSS display: none .

2 Likes

Thank you. That helps.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.