I have a question about showing/hiding content based on the size of the browser.
The website that I am coding is currently local, so I can not show the full page. However, the problem is:
The main site is 1000px wide. There is a small panel on the right hand side, OUTSIDE of the 1000px, for special content. The special content is 200px wide, meaning when the browser is SMALLER than 1400px wide, I am given a vertical scrollbar at the bottom. Instead of this, I'd like for that content to be removed/hidden when the browser reaches <1400px. I am using the following code:
@media all and (max-width: 1400px) {
#side-items {
display:none;
}
}
This works in Chrome/Safari/Firefox, but does not work in IE (I must support IE8+). Is there a way to cross-browser hide that panel for users with smaller screens? I'm not overly experienced with JS/JQuery, so I'm not sure if there's a script out there that can do what I'm looking for.
Thank you!