Css hulp gezocht

Gestart doorShahiem7 reacties29 weergaven

8 berichten · pagina 1 van 1

Shahiem

Lid · Topicstarter

Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb een layout en hij staat nu in het midden maar hij moet helemaal naar boven.

Mijn volgende probleem is dat je verder kan naar rechts scrollen dat eigenlijk niet hoort

Css:

body {
    background: #84cce8 url(img/bg.gif) bottom repeat-x fixed;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
}
#container {
    width: 974px;
    margin: 0px auto;
}
#header {
    width: 969px;
    height: 144px;
}
#header .left
{
    background: url(img/header_left.PNG) no-repeat;
    color: #FFFFFF;
    width: 100%;
    height: 144px;
    position: absolute;
    padding-top: 10px;
text-align: left;
padding-left: 13px;

}

h1 {
    font-size: 15px;
    margin: 0px;
    padding: 0px 0px 5px 0px;
color: black;

}
#header .right
{
    background: url(img/header_right.PNG);
    margin-left: 823px;
    width: 146px;
    height: 144px;
    padding-left: 5px;
    color: #FFFFFF;
    position: absolute;
}
#container #top {
    background: url(img/top.PNG);
    height: 18px;
    color: #FFFFFF;
    padding: 7px;
}
#container #mid {
    background: url(img/mid.PNG) no-repeat;
    
    height: 84px;
}
#mid .left
{
    padding: 9px 0px 0px 5px;
    position: absolute;
}
#mid .left img {
padding: 1px 0px 0px 5px;
    
}
#mid .mid
{
    padding: 9px 0px 0px 255px;
    position: absolute;


}
#mid .mid img {
padding: 1px 0px 0px 5px;

}
#mid .mid2
{
    padding: 9px 0px 0px 510px;
    position: absolute;
max-height: 1px;
}
#mid .mid2 img {
padding: 1px 0px 0px 5px;

}
#mid .right
{
    padding: 12px 0px 0px 770px;
    position: absolute;
}
#mid .righttext
{
    padding: 30px 0px 0px 770px;
    position: absolute;
}
#container #balk {
    background: url(img/balk.PNG);    
    width: 973px;    
    height: 18px;
    margin-left: -6px;
    padding: 7px;
    color: #FFFFFF;
}
#innercontent {
    background: url(img/bg.PNG);
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    padding: 10px;
}
#centerrow
{
    margin-left: 222px;
    width: 508px;
}

.center .top
{
    background-color: #20B1D2;
    border: 1px solid #B4B4B4;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0px
}

.center .center
{
    background-color: #787878;
    border: 1px solid #B4B4B4;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0px;
}

.center .text
{    
    background-color: #FFFFFF;
    border-left: 1px solid #B4B4B4;
    border-right: 1px solid #B4B4B4;
    padding: 4px;
}

.center .onder
{
    border-bottom: 1px solid #B4B4B4;
    margin: 0px 0px 10px 0px;
}

#navigatie2
{
    float: right;
    width: 208px;
}

#navigatie
{
    float: left;
    width: 208px;
}
.blok2
{
    width: 208px;
}

.blok2 .title
{
    background-color: #20B1D2;
    border: 1px solid #B4B4B4;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0px
}

.blok1
{
    background: #FFFFFF;
    width: 208px;
}

.blok1 .title
{
    background-color: #20B1D2;
    border: 1px solid #B4B4B4;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0px
}

.blok1 .mid
{
    border-left: 1px solid #B4B4B4;
    border-right: 1px solid #B4B4B4;
    border-bottom: 1px solid #B4B4B4;
    padding: 4px;
}
.blok1 .text
{
    border: 1px solid #B4B4B4;
    padding: 4px;
}

.blok2 .space
{
    background-color: #FFFFFF;    
    border-left: 1px solid #B4B4B4;
    border-right: 1px solid #B4B4B4;
    border-bottom: 1px solid #B4B4B4;
    padding: 2px;
}

.blok2 .text
{
    background-color: #DDDDDD;
    border-left: 1px solid #B4B4B4;
    border-right: 1px solid #B4B4B4;
    border-bottom: 1px solid #B4B4B4;
    padding: 3px;
font-weight: bold;
color: gray;
}
.blok2 .img
{
    margin-top: -4px;
       position: absolute;
}

.blok2 .mid
{
    background: url(img/midtext.PNG);
    border-bottom: 1px solid #B4B4B4;
    width: 203px;
    height: 26px;
    padding: 3px 0px 0px 5px;
color: #FFFFFF;
}

.blok
{
    background: #FFFFFF;
    width: 208px;
}

.blok .title
{
    background-color: #20B1D2;
    border: 1px solid #B4B4B4;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0px
}

.blok .text
{
    border-left: 1px solid #B4B4B4;
    border-right: 1px solid #B4B4B4;
    border-bottom: 1px solid #B4B4B4;
    padding: 4px;
}

#clear
{
    display: block;
    height: 0px;
    clear: both
}

#container #onder {
    border-bottom: 1px solid #000000;
}

h1 {
    font-size: 15px;
    margin: 0px;
    padding: 0px 0px 5px 0px;
color: black;

}
.ul {

                    padding: 0px 0px 0px 10px;
                    margin: 0px;
                    list-style: none;
                
                }
.rederror {
    border: 1px dotted #962133; 
    border-bottom: 2px solid #962133;
    background-color: #f75353;
}

.greenerror {
    border: 1px dotted #449D04; 
    border-bottom: 2px solid #449D04; 
    background-color: #96FF31;
}

.comment, .nieuwsdiv, .profieldiv  {
    border: 1px solid #484848;
    margin-right: 10px;
    padding: 5px;
 
    overflow: hidden;
}

.comment_heading, .nieuws_heading, .profiel_heading {
    border-bottom: 1px solid #484848;
}

.profiel_heading {
    text-align: center;
}

#comment_box {
    padding-top: 10px;
    text-align: center;
}

#forum {
    margin: 10px 10px 10px 10px;
    border: 1px solid #FF0000;
}
table, tr, td {
    margin: 0px;
    padding: 0px;
}
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik denk dat het probleem in dit stukje zit:
#header .left
{
background: url(img/header_left.PNG) no-repeat;
color: #FFFFFF;
width: 100%;
height: 144px;
position: absolute;
padding-top: 10px;
text-align: left;
padding-left: 13px;

}
maar dan zou ik ook de html moeten zien.
0
Tom

Lid

Berichten
3.868
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
Je moet zulke grote stukken code niet hier posten, plaats ze dan gewoon op www.plaatscode.be
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Tom schreef:
Je moet zulke grote stukken code niet hier posten, plaats ze dan gewoon op www.plaatscode.be
Zo groot is het niet hoor...

En klik eens op "Nieuw venster" -> Voila je hebt de code overzichtelijk in een andere pagina =D
0
Tom

Lid

Berichten
3.868
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
Klopt, maar als je het op www.plaatscode.be plaatst blijft het geheugen van one2xs bespaard.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
wat maakt dat nou uit
Afbeelding
Afbeelding
Afbeelding
0
Tom

Lid

Berichten
3.868
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
Zo kunnen er nog meer zinloze reacties worden geplaatst op one2xs.
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Tom schreef:
Klopt, maar als je het op www.plaatscode.be plaatst blijft het geheugen van one2xs bespaard.
Geloof je nou werkelijk dat dat zoveel uitmaakt. One2xs heeft genoeg gehuegen voor het forum hoor, geloof me emo
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren