When I maximize my website, it looks great, but when I restore it down, the box on my site becomes distorted. I'm new to designing websites and struggling with this issue. Here's the code I've been using:
.boxed {
position: absolute;
left: 500px;
right: 180px;
border: 4px solid green;
font-size: 2em;
text-align: center;
}
Any suggestions on how to fix this problem?