Problem mit CSS Postion absolute
Johann
- css
0 la la
Hallo NG,
ich habe folgendes Problem. Ich habe eine Imagemap in verschiedene Teile "zerschnitten". Nun habe ich über folgenden Teil die postion der Teile bestimmt:
{Ausschnitt}
<STYLE TYPE="text/css">
<!--
DIV.testing-Ver6-01 {
position:absolute;
left:0px;
top:0px;
width:664px;
height:63px;
}
DIV.testing-Ver6-02 {
position:absolute;
left:0px;
top:63px;
width:258px;
height:143px;
}
DIV.testing-Ver6-03 {
position:absolute;
left:258px;
top:63px;
width:6px;
height:18px;
}
etc.
Leider ist die ganze map rechtsbündig formatiert.
Wie kann ich nun das css so ändern, dass die map in der Mitte ist?
Wäre für eure Hilfe dankbar.
VG
Johann
Hallo NG,
ich habe folgendes Problem. Ich habe eine Imagemap in verschiedene Teile "zerschnitten". Nun habe ich über folgenden Teil die postion der Teile bestimmt:
{Ausschnitt}
<STYLE TYPE="text/css">
<!--
DIV.testing-Ver6-01 {
position:absolute;
left:0px;
top:0px;
width:664px;
height:63px;
}
DIV.testing-Ver6-02 {
position:absolute;
left:0px;
top:63px;
width:258px;
height:143px;
}
DIV.testing-Ver6-03 {
position:absolute;
left:258px;
top:63px;
width:6px;
height:18px;
}
etc.
Leider ist die ganze map rechtsbündig formatiert.
Wie kann ich nun das css so ändern, dass die map in der Mitte ist?
Wäre für eure Hilfe dankbar.
VG
Johann
also...versuchs doch mal mit align (funzt ja bei anderen dingen auch) oder pack das zerschnipselte bild doch in eine tabelle mit einer zelle und einer spalte und richte dann die tabelle aus...entweder auch mit <div style="position: absolute; left:?px; top:?px;">
viel spaß & glück