Okay, so here’s the idea. I don’t have an example on the web, but the idea is pretty simple. I’d like to position an image and progress bar in the center of my screen, a copyright in the bottom left, and a logo in the bottom right of the screen. I’ve tried to position them, but in my browser (firefox) it either overextends, or doesn’t fit properly. I’d also like it to update on resize, if possible. Here is the last bit of code I tried.
The CSS:
body {
background-color:#000000;
}
#copyright {
position:relative;
top:100%;
left:0;
}
#mslogo {
position:absolute;
top:100%;
left:100%;
}
#progressbar {
color:#FFFFFF;
position:absolute;
top:50%;
left:50%;
}
The HTML:
<div id="copyright">
<img src="images/boot_copyright.jpg" />
</div>
<div id="mslogo">
<img src="images/boot_mslogo.jpg" />
</div>
<div id="progressbar" align="center">
<img src="images/boot_winlogo.jpg" />
<br />
<script type="text/javascript">
// var xyz = createBar(width,height,bgcolor,borderwidth,bordercolor,barcolor,...leave defaults...)
var xp_bar = createBar(300,15,'black',1,'white','green',85,7,3,"");
</script>
</div>
Can CSS do this or should I resort to Javascript? I was never that great at positioning w/ CSS…