Hello, everyone. I do hope someone here will be able to provide me with an official solution to this problem I’ve been having. The problem is, after messing around, testing out codes, all my content is the way it should be when the browser is maximized, but when I click the restore button next to the close button, one of my DIVs gets moved to the right a bit, and therefore ruins my entire style. I don’t think I could be any more clearer than that. I’ve provided my HTML and CSS below. Could someone tell me how to keep my content aligned the way I had it aligned when the browser was maximized?
Thank you.
<html>
<title>DIV testing</title>
<style type=”text/css”>
DIV.container {color: #ffffff; margin: 0 auto;}
DIV.Header, DIV.footer {background-color: #990000;
width: 48.7%; height: 4%; padding: 0.5em;}
DIV.FloatContentLeft {float: left; margin: 0; background-color: #000000; width: 20%; height: 50%; padding: 1em;}
DIV.FloatContentRight {margin: auto; margin-left: 285px; background-color: #000000; width: 24.7%; height: 50%; border-left: 3px solid #990000; padding: 1em;}
DIV.footer {padding: 0.5em; background-color: #990000; width: 48.7%; height: 6%;}
</style>
<DIV class=”container”>
<DIV class=”Header”>Welcome</DIV>
<DIV class=”FloatContentLeft”>Good evening.</DIV>
<DIV class=”FloatContentRight”>This content text should be aligned to the right.</DIV>
<DIV class=”footer”>This is the footer. Copyright 1427-2009 by Grachel</DIV>
</DIV>
</html>