JeroenHulshof
Gebruiker
- Lid geworden
- 13 dec 2012
- Berichten
- 43
Hallo,
Ben ik weer!
Mijn vraag is dit keer:
Ik heb mijn website nu goed op mijn laptop van 13".
Als ik op mijn telefoon wil checken, staat de box waar ik text in ga doen tussen de header en de content in, + mijn footer staat niet helemaal onderaan de website.
CSS:
voorbeeld url: http://www.jeroenhulshof.nl/test.
Hopelijk kunnen jullie mij helpen!
Met vriendelijke groeten,
Jeroen Hulshof.
Ben ik weer!
Mijn vraag is dit keer:
Ik heb mijn website nu goed op mijn laptop van 13".
Als ik op mijn telefoon wil checken, staat de box waar ik text in ga doen tussen de header en de content in, + mijn footer staat niet helemaal onderaan de website.
CSS:
Code:
@charset "UTF-8";
/* CSS Document */
body{
font-family: verdana;
margin: 0px auto;
position: relative;
width: 100%;
background-color: rgb(172, 172, 172);
background-repeat: repeat;
background-position: center center;
background-attachment: fixed;
}
#container{
width: 100%;
height: 100%;
margin: 0px auto;
}
#header{
width: 102%;
height: 116px;
margin-top: -21px;
margin-left: -10px;
background-image: url('./../images/bgheader.png');
background-repeat: repeat;
background-position: center center;
background-attachment: fixed;
font-family: verdana;
}
#logo{
width: 100px;
height: 100px;
margin-left: 61px;
margin-top: 32px;
position: absolute;
}
#nav{
float: right;
margin-top: 61px;
margin-right: 1px;
text-shadow: 0 1px 1px rgba(0,0,0,0.6);
}
ul {
list-style-type: none;
height: 80px;
width: 344px;
margin: auto;
}
ul li a:hover{
color: #CF2718;
}
ul a {
padding-right: 10px;
padding-left: 10px;
display: block;
line-height: 80px;
text-decoration: none;
font-family: Georgia, "Roboto", sans-serif;
font-size: 15px;
color: #FFF;
}
li {
float: left;
}
#content{
width: 740px;
min-height: 223px;
background-color: #FFF;
margin-top: 10px;
margin-left: 50px;
box-shadow: 2px 2px rgb(201, 201, 201);
position: absolute;
}
#contentbanner{
width: 772px;
margin-left: -19px;
height: 41px;
background-image: url('./../images/sprite.png');
margin-top: 29px;
}
#contentinfo{
width: 515px;
height: 23px;
margin-top: -15px;
margin-left: -90px;
color: #FFFFFF;
text-align: center;
cursor: pointer;
line-height: 30px;
text-shadow: 0 1px 1px rgba(0,0,0,0.6);
font-family: 'Roboto',sans-serif;
}
#footer{
width: 100%;
height: 21px;
background-color: #CF2718;
margin-top: 100%;
text-align: center;
color: #FFF;
}
voorbeeld url: http://www.jeroenhulshof.nl/test.
Hopelijk kunnen jullie mij helpen!
Met vriendelijke groeten,
Jeroen Hulshof.