[CSS]Horizontale centrering alleen in IE?

Pagina: 1
Acties:
  • 72 views sinds 30-01-2008

  • sjaakaq
  • Registratie: September 2003
  • Laatst online: 17-04 10:24

sjaakaq

It might get loud

Topicstarter
Op http://www.supersop.nl/test_site/index.html zie je het probleem;
-IE centreert de rode DIV keurig (horizontaal dus ;) )
-Opera en FF niet, die zetten em links

Waarom?

Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
body
{
width: 720px;
background-color: #fff;
margin: 2px;
margin:5px 0px; 
padding:0px;
text-align:center;
}

#inhoud
{
font-family: georgia, arial; 
font-size: 12px;
color: #000;
height: 500px;
width: 700px;
background-color: #ff0000;
margin: 50px auto auto;
padding: 5px;
position: relative;
}


Dis staat miss. al ergens in de search, maar m;n omega parameters zijn leeg :(

leoaq.fm // Jeune Loop


  • André
  • Registratie: Maart 2002
  • Laatst online: 18-05 16:30

André

Analytics dude

Zet je width van je body eens op 100% :)

  • J_Davelaar
  • Registratie: Maart 2001
  • Laatst online: 05-05 13:41
Ik zie dat je ook alleen de text centreert. Misschien de box zelf ook even positioneren?

Was ik maar een punt dan was ik het einde


  • sjaakaq
  • Registratie: September 2003
  • Laatst online: 17-04 10:24

sjaakaq

It might get loud

Topicstarter
Oke :)
Dankjewel :)
Slotje? :)

leoaq.fm // Jeune Loop


  • Pelle
  • Registratie: Januari 2001
  • Laatst online: 23-05 16:31

Pelle

🚴‍♂️

Afbeeldingslocatie: http://www.gameskool.nl/locked.gif

Dit topic is gesloten.