As a newbie to HTML and CSS, I've been encountering difficulties with media queries. My website seems to only function properly when viewed in a resolution of 1920x1080, so I attempted to implement some media queries in my CSS to cater to other resolutions as well. However, I'm struggling to create a media query for the 1280x1024px resolution. Interestingly, none of my CSS changes seem to take effect when the browser is not in fullscreen mode; they only work correctly in fullscreen.
In addition, I am unable to set a width of 1280 for this particular media query because it will interfere with another one that was designed for the 1280x768 resolution.
If anyone could offer assistance with this issue, it would be greatly appreciated.
@media screen and (height:1024px) {
.white_round_background{
margin-left: 320px;
height: 170vh;
width: 160vw;
background-color: rgb(197, 183, 183);
}
.menunav {
left: 38%;
top: 4%;
}
.system_selection {
margin: 420px 0 0 0px;
height: 95px;
}
#logo_sliding_menu {
margin-top: 710px;
}
}