Margin-left geeft scrollbalk

Pagina: 1
Acties:

  • Matthijs1982
  • Registratie: Augustus 2005
  • Laatst online: 02-06-2021
Ik heb een verticale scrollbalk in zowel IE als Firefox. Ik denk dat het aan de margin-left ligt, maar als ik er iets aan verander lost dat bij mij niks op.

Wie kan mij helpen?

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
body {
    font-family: Verdana, Arial, Helvetica, Sans-serif;
    font-size: 10px;
    color: #000000;
    text-align:center;
    margin: 0;
    padding: 0;
}

#container { 
  width: 785px;
  margin: 0 auto 0 auto; 
  text-align: left;
}

#referentie1 {
  width: 476px;
  margin-top: 517px;
  margin-left: 299px;
  padding: 5px;
  position: absolute;
  background-image: url("../afbeeldingen/bg_tekst_referenties.gif");
  background-repeat: repeat-x;
}

  • Koeniepoenie
  • Registratie: Oktober 2003
  • Laatst online: 14-11-2025
Misschien is het handig dat je ook even een kleine indeling van je html laat zien, en wellicht een online voorbeeldje.

Verder lijkt het me voor de hand liggen dat dus #referentiel danig naar rechts wordt verschoven dat er een scrollbalk nodig is om het element nog weer te kunnen geven.. En tsjah, daar doe je verder niets aan. Maar goed, ik heb natuurlijk het hele euvel nog niet in actie gezien.

Parse error: syntax error, unexpected GOT_USER in https://gathering.tweakers.net on line 1337


Verwijderd

kijk hier: http://www.w3.org/TR/REC-CSS2/visufx.html
hidden
This value indicates that the content is clipped and that no scrolling mechanism should be provided to view the content outside the clipping region; users will not have access to clipped content. The size and shape of the clipping region is specified by the 'clip' property.
overflow:hidden; moet je hebben dus.