i have 2 problems. (their probably little, amateur ones)
first, how do i get it so that when anyone wants to minimize the window by page doesn't mis-align.
second, how do i make it that it is aligned in all browsers. i tried
CODE
#content {
position: absolute;
left: 50%
margin-left: XXXpx;
}
position: absolute;
left: 50%
margin-left: XXXpx;
}
but that throws off the whole thing.
css:
CODE
body {
background-color : #00396a;
background-image : url(/images/anthony-heartquasmbg.png);
background-repeat : repeat-y;
background-position : top center;
background-attachment: fixed;
font-family : tahoma;
font-size : 10px;
text-transform : lowercase;
cursor : crosshair;
margin : 0;
}
img {
border : 0;
}
embed {
width : 409px;
}
a:link, a:visited {
color : #000;
}
a:hover {
color : #3b4d67;
cursor : crosshair;
}
strong {
text-align : right;
}
.nav {
display : block;
font-size : 11px;
}
.nav:hover {
font-size : 11px;
background-color : #82a1c1;
color : #112c55;
border-left : 5px solid #112c55;
}
h1 {
font-family : century gothic;
font-size : 15px;
color : #112c55;
border-bottom : 1px solid #82a1c1;
}
h2 {
font-family : century gothic;
font-size : 18px;
color : #112c55;
border-bottom : 1px solid #82a1c1;
}
#basebg {
z-index : 1;
position : absolute;
top: 0px;
left: 268px;
width : 800px;
height : 600px;
overflow : hidden;
top : 0;
}
#content {
position : absolute;
z-index : 3;
top : 250px;
left : 268px;
width : 318px;
font-size : 10px;
}
#navigation {
z-index : 2;
position : absolute;
width : 153px;
top : 250px;
left : 587px;
text-align : right;
}
background-color : #00396a;
background-image : url(/images/anthony-heartquasmbg.png);
background-repeat : repeat-y;
background-position : top center;
background-attachment: fixed;
font-family : tahoma;
font-size : 10px;
text-transform : lowercase;
cursor : crosshair;
margin : 0;
}
img {
border : 0;
}
embed {
width : 409px;
}
a:link, a:visited {
color : #000;
}
a:hover {
color : #3b4d67;
cursor : crosshair;
}
strong {
text-align : right;
}
.nav {
display : block;
font-size : 11px;
}
.nav:hover {
font-size : 11px;
background-color : #82a1c1;
color : #112c55;
border-left : 5px solid #112c55;
}
h1 {
font-family : century gothic;
font-size : 15px;
color : #112c55;
border-bottom : 1px solid #82a1c1;
}
h2 {
font-family : century gothic;
font-size : 18px;
color : #112c55;
border-bottom : 1px solid #82a1c1;
}
#basebg {
z-index : 1;
position : absolute;
top: 0px;
left: 268px;
width : 800px;
height : 600px;
overflow : hidden;
top : 0;
}
#content {
position : absolute;
z-index : 3;
top : 250px;
left : 268px;
width : 318px;
font-size : 10px;
}
#navigation {
z-index : 2;
position : absolute;
width : 153px;
top : 250px;
left : 587px;
text-align : right;
}
p.s. fixtatik told me about margin: 0 auto; but i dont know if thats the best way to go about
