I am thoroughly confounded. I tried very hard to conquer this on my own - I feel like I keep falling back to the superb advice here to fix issues for me. But this probably deceptively simple issue has destroyed me...
In site 1.0 I used absolute positioning to center my objects. That was great, but obviously wasn't consistent between browsers/devices.
In version 1.1 I used
to center all my elements. Great! They center automagically.
However...
Everything would vertically position however it pleased.
So:
Arranges things nicely. Yay!
Then...
The site loads. The site logo loads in its proper spot, at the top of the page. After a slight delay, a script does it's thing and fades in a vimeo container. The logo jumps to the bottom of the page! Everything goes all crazy! No!
Here's the full stylesheet:
Attached is my working HTML file containing the full page.
I'd love to figure this out and learn exactly why I hit a wall.
Thanks!
In site 1.0 I used absolute positioning to center my objects. That was great, but obviously wasn't consistent between browsers/devices.
Code:
position:absolute;
left:159px;
top:0px;
In version 1.1 I used
Code:
margin-left: auto ;
margin-right: auto ;
However...
Everything would vertically position however it pleased.
So:
Code:
margin-top:[x]px;
Then...
The site loads. The site logo loads in its proper spot, at the top of the page. After a slight delay, a script does it's thing and fades in a vimeo container. The logo jumps to the bottom of the page! Everything goes all crazy! No!
Here's the full stylesheet:
Code:
<style type="text/css">
.logo {
width: 800px ;
margin-left: auto ;
margin-right: auto ;
z-index:3;
}
</style>
<style type="text/css">
#fade_reel {
width: 800px ;
margin-left: auto ;
margin-right: auto ;
margin-top:200px;
</style>
<style type="text/css">
.contact {
font-size:40px;
font-family: 'Quicksand', sans-serif;
text-align:center;
}
</style>
<style>
a:link {color:#696969;}
a:visited {color:#696969;}
a:hover {color:#919191;}
a:active {color:#696969;}
</style>
Attached is my working HTML file containing the full page.
I'd love to figure this out and learn exactly why I hit a wall.
Thanks!