I'm facing a dilemma in my CSS design that's got me stuck. This issue also seems to be present in this forum:
Whenever I zoom in on the page, I noticed that the header background doesn't fully extend across the screen horizontally. Here's how it looks when zoomed out:
This is exactly the same problem I encountered while designing the backgrounds for my header and footer.
Here's my HTML code:
<div id="footerBack">
<div id="footer">
<a href="#"><img src="images/eyecolor.png" alt="Eyecolor Icon" /></a>
<ul>
<li><a href="#" id="terms">Terms & Service</a></li>
<li><a href="#" id="privacy">Privacy Policy</a></li>
<li><a href="#" id="news">News</a></li>
<li><a href="#" id="footerAbout">About</a></li>
<li><a href="#" id="footerContact">Footer</a></li>
</ul>
<p id="copyright">Copyright © 2012 Jed Designs</p>
<a href="#"><p id="email">Email: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c0aa..ad">[email protected]</a></p></a>
</div>
<div id
My CSS:
/*Footer*/
#footerBack {background: url(images/footerBack.jpg) repeat-x; height: 48px; position: relative; top: -4px;};
#footer {padding-top: 10px;}
#footer ul, #footer img
{margin-top: 5px;}
#footer ul {float: left; margin-left:160px; margin-top: 15px;}
#footer li a {color: #d6b85e; padding: 7px; margin: 0 8px 0 8px; font: 11px Tahoma, Geneva, sans-serif;}
#footer li a:hover {background:#d6b85e; color: #73401f;}
#footer img {float: left;}
#footer #copyright, #footer #email
{float: right; color: #e5dca9; font: 10px "Trebuchet MS", Arial, Helvetica, sans-serif; margin-right: 12px;}
#footer #email {margin-top: 2px;}
#footer #copyright {margin-right: 20px; margin-top: 12px;}
I'm seeking advice on how to resolve this design challenge. Any suggestions? :D