Hey guys, Im still having a hard time with this. I made the fixes listed above here is my regular style sheet. I added the alternate styles to the end:
/*RESET*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym{border:0;}
/*END RESET*/
body {
background-image:url('../images/back_one.jpg');
background-repeat:repeat-y;
}
#container {
width:960px;
overflow:hidden;
margin-right:auto;
margin-left:auto;
position:relative;
z-index:1;
}
#container #header{
width:960px;
height:934px;
padding-bottom:50px;
border-bottom: 1px dashed #00c0ff;
background-image:url('../images/header_back.png');
background-repeat:no-repeat;
background-position: top center;
}
#container #header img {
max-width:100%;
}
#container #intro{
width:960px;
float:left;
margin-bottom:25px;
border-bottom: 1px dashed #00c0ff;
}
#container #intro #welcome{
width:625px;
float:left;
background-color:#0a475b;
height:300px;
}
#container #intro #links{
float:right;
width:330px;
margin-left:5px;
background-color:#0a475b;
height:300px;
}
#container #folio{
width:960px;
float:left;
border-bottom: 1px dashed #00c0ff;
padding-bottom:25px;
}
#container #folio .portfolio_piece{
background-color:#0a475b;
float:left;
width:310px;
height:218px;
text-align:center;
margin:3px;
border: 1px solid #00c0ff;
cursor:pointer;
}
#container #folio .portfolio_piece:hover{
border: 1px solid #fff;
}
#container #social{
width:960px;
float:left;
border-bottom: 1px dashed #00c0ff;
margin-bottom:100px;
position:relative;
}
#container #social #twitter{
float:left;
height:300px;
width:479px;
border-right: 1px dashed #00c0ff
}
#container #social #promise{
float:right;
width:480px;
height:300px;
}
#container #floating_footer{
position:fixed;
left:0;
bottom:0;
height:50px;
width:100%;
background-color:#00c0ff;
z-index:1;
}
@media screen(max-width: 600px) {
#container,
#header,
#info,
#folio,
#links,
#welcome
{
float: none;
width: 100px;
}
}
From this, when I make my browser smaller should everything not jump to 100px wide and smaller? AT this point I am just looking to make something happen as I reduce the browser window. If I can figure that out, I can prob figure out the rest. Right now, the CSS above is just not working for some reason. Any ideas?