Well like others in this forum, I too have decided to take the step away from tables and start learning css. I chose a basic 3 column layout from glish.com to use as a learning tool and seem to be grasping some of it (at least I think so). One problem I've run in to is how to keep my layers positioned so they look the same in 800x600;1024x768 and 1280x800 resolutions. I have a 2 layers positioned over a header image in the header, one for my text nav links and the other for the date and time. Here is the code I used:
The problem is that layers 1 & 2 won't center properly except in 800x600Code:Css code: #Layer1 { position:absolute; width:200px; height:38px; z-index:1; left: 619px; top: 97px; } #Layer2 { position:absolute; width:435px; height:36px; z-index:2; left: 405px; top: 21px; font-size:12px; font-weight:bold; text-align:center; } Xhtml code: <div id="Layer1"><script language="JavaScript" type="text/javascript"> //<![CDATA[ document.write(doClock("W0",",%20","M0","%20","D1",",%20","Y0")); //]]> </script></div> <div id="Layer2"> <p><a href="#">About Us</a> | <a href="#">Advertising</a> | <a href="#">Archive</a> | <a href="#">Articles</a> | <a href="#">Braggn Board</a> | <a href="#">Contact</a> <br /> <a href="#">Fishy Links</a> | <a href="#">Fun and Games</a> | <a href="#">News</a> | <a href="#">Pros</a> | <a href="#">Q and A</a> | <a href="#">Weather</a> </p> </div>
Can anyone shed some light or point me in the right direction? I've done a search on this forum and others, but the solutions I've come accross don't seem to help me.
Nootkan



Well like others in this forum, I too have decided to take the step away from tables and start learning css. I chose a basic 3 column layout from glish.com to use as a learning tool and seem to be grasping some of it (at least I think so). One problem I've run in to is how to keep my layers positioned so they look the same in 800x600;1024x768 and 1280x800 resolutions. I have a 2 layers positioned over a header image in the header, one for my text nav links and the other for the date and time. Here is the code I used:
Reply With Quote

Bookmarks