Did the scrollbar thing.
And I managed to center the layout, in Firefox and Safari at least. IE is giving me a hard time by putting everything on the left-hand side of the page, though. This is my current code.
HTML Code:
<title>
Puffin Art
</title>
<html>
<style type="text/css">
html, body {margin:0px; padding:0px; }
body {background-color:black;}
body {background-image:url(/Graphics/Logo_Background_2.png); background-repeat:no-repeat; background-position:left top;}
#main, .main {font-family:arial; font-size:11.5px; color:#ACACAC; line-height:17px; text-align:justify; padding:20px;}
a.two {opacity: .8; filter: alpha(opacity=80); -moz-opacity: .8;}
a.two:hover {opacity: 1; filter: alpha(opacity=100); -moz-opacity: 1;}
b {color:#00A1F2;}
u {text-decoration:none; color:#0488CB; text-transform:uppercase; font-size:9px;}
u:hover {text-decoration:none; color:#00A1F2; text-transform:uppercase; font-size:9px;}
a:hover, a:link, a:active {color:#00A1F2; text-decoration:none;}
#fade, .fade {background-image: url(Graphics/Top_Fade.png); background-repeat: repeat-x; left:-30px; top:-30px;}
html {
overflow-y: scroll;
}
.container {
position: relative; /* make this a containing block! */
border: none; /* mark this element visually prominent */
}
.center {
position: absolute; /* take element out of the normal page flow! */
top: -160px; /* position the element vertically using top or bottom
and define width as you like:*/
width: 590px;
left: 0; /* set left and right to the same value! */
right: 0;
margin-left: auto; /* adding auto-margins left and right will
center the element horizontally!*/
margin-right: auto;
background:none; /* mark this element visually prominent */
}
</style>
<div class="fade" style="z-index:-10; top:0px; left:0px; height:227px;"></div>
<div style="position:absolute; left:25px; top:25px;"><a class="two" href="/index2.htm"><img src="/Graphics/Logo_Corner.png" border=0></a></div>
<div class="container" style="z-index:0;">
<div class="center">
<div class="main">
<center>
<a class="two" href="/index2.htm"><img src="/Graphics/Link_Home.png" border=0></a>
<a class="two" href="/gallery.htm"><img src="/Graphics/Link_Gallery.png" border=0></a>
<a class="two" href="/buy.htm"><img src="/Graphics/Link_Buy.png" border=0></a>
<a class="two" href="/about.htm"><img src="/Graphics/Link_About.png" border=0></a>
<a class="two" href="/news.htm"><img src="/Graphics/Link_News.png" border=0></a>
</center>
<p>
<br>
<br>
<center>
Welcome to <b>Puffin Art</b>.<br>
<u>Requires javascript | Works best in Firefox</u><p>
</center>
</div>
</div>
</div>
</html>
And here's a screenshot.
Any quick fixes? I'd like to maximize compatability.
Bookmarks