I have been exploring the @media feature on this website and attempted this:
@media screen and (max-width: 1350px;)
{
#td6img{margin-left:400px;}
}
I believe the default resolution is 1360px, but when I adjust the window size, the image doesn't seem to budge and remains in the same position. Here is the original CSS for the image before resizing:
#td6img
{
display:block;
margin-left:410px;
}
The CSS doesn't appear to update when resizing. I'm not sure if I set the width too high or if there's a mistake with the @media
rule.
How can I reposition the image? I want to apply this to other elements as well, not just this one.