+ Antworten
Ergebnis 1 bis 4 von 4

Thema: kann Tabellen nicht zentrieren...

  1. #1
    War schon öfter hier Avatar von tobiasax
    Registriert seit
    21.07.2006
    Beiträge
    118
    Bedankte sich
    20
    Erhielt 9 Danksagungen
    in 8 Beiträgen

    Frage kann Tabellen nicht zentrieren...

    Hallo!

    Und zwar ist mein Problem, dass zentrierte Tabellen Firefox nicht zentriert anzeigt. Bei IE und Opera funktioniert das ausgezeichnet.

    Woran kann das liegen? Habe DAS gefunden und deshalb mal meine CSS angefügt... Bitte helft mir!

    Viele Grüße

    PHP-Code:
    * {
    margin:0;
    padding:0;
    }
    body{
    PADDING-TOP0px
    PADDING
    -BOTTOM10px
    PADDING-RIGHT10px
    PADDING-LEFT10px
    BACKGROUND#CD853F; 
    COLOR#000000; 
    font-size:76.1%;
    font-family:Verdana,Arial,Helvetica,sans-serif;
    line-height:1.3em;
    margin:1em 0;
    }

    #wrap{
    border:0px solid #999;
    height:100% !Important;height:1%;
    }
    #wrap-inner {
    height:100% !Important;height:1%;
    }
    #header{
    BACKGROUNDurl(../images/logo.pngrepeat-#fff;
    height150px;
    border-bottom1px solid #999;
    padding:0px;
    }   
    #path{
    border-bottom1px solid #999;
    padding:0px;
    }

    #links {
    BACKGROUND#dddddd;
    }
    #footer{  
    BACKGROUNDurl(../images/footer.pngrepeat-#fff;
    border-top1px solid #999;
    padding:5px;
    }

    ul{
    margin-left:2em;
    }
    fieldset{
    padding:.5em;
    }


    }
    tdtrpdiv {
      
    font-family      VerdanaHelveticasans-serif;
      
    color            #333333;
    }
    hr {
      
    color            #999999;
      
    height           1px;
      
    width            100%;
    }
    .
    mod {
      
    background       #F5F5DC;
      
    width            2px;
    }
    .
    mt {
      
    font-family      VerdanaGenevaArialHelveticasans-serif;
      
    color            #FEFEFE;
      
    font-size        0.8em;
      
    font-weight      normal;
     }
    .
    mt a:link, .mt a:visited {
      
    font-size        0.8em;
      
    color            #FFFFFF;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    mt a:hover {
      
    font-size        0.8em;
      
    color            #FEFEFE;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    contentdescription 
      
    width            auto !important;
      
    display          block;

    #buttons {
      
    float            right;
      
    margin           0px;
      
    padding          0px;
      
    width            50%;
    }
    ul#mainlevel-nav {
      
    list-style       none;
      
    padding          0;
      
    margin           0;
      
    font-size        0.8em;
    }
    ul#mainlevel-nav li {
      
    display          block;
      
    background-image none;
      
    padding-left     1px;
      
    padding-right    1px;
      
    float            right;
      
    margin           0;
      
    width            auto !important;
      
    line-height      22px;
      
    white-space      nowrap;
      
    border-left      1px solid #cccccc;
    }
    ul#mainlevel-nav li a {
      
    display          block;
      
    padding-left     16px;
      
    padding-right    15px;
      
    text-decoration  none;
      
    color            #999999;
      
    background       transparent;
    }
    ul#mainlevel-nav li a:hover {
      
    color            #cc9933;
    }
    .
    sublevel {
      
    padding-left     10px;
    }
    .
    leftrow {
      
    background-color #F1F1F1; 
      
    width            168px;
      
    height           100%;
      
    margin-right     5px;
    }
    .
    rightrow {
      
    background-color #F1F1F1;
      
    height           100%;
      
    width            168px;
      
    align            right;
      
    margin-left      5px;
    }
    table.moduletable {
      
    width           100%;
      
    table-layout       auto;
      
    margin-bottom       30px;
    }                    

    table.moduletable th {
      
    font-weight      bold;
      
    text-align       center;
      
    height           21px;
      
    line-height      19px;
      
    text-indent      4px;
      
    color            #FFF;
      
    background-image url(../images/modul.jpg);  
    }
    table.moduletable td {
      
    padding-left     0px;
      
    padding-right    0px;
      
    text-align       left;

    }
    #search {
      
    float            center;
      
    margin-top       5px;
      
    border           1px solid #000000;
      
    padding          0px;
      
    width´           150px !important;
      
    width            150px;
      
    height           16px !important;
      
    height           16px;
      
    overflow         hidden;
    }
    #search .inputbox {
      
    border           0px;
      
    margin-top       0px;
      
    padding          2px 3px 2px 6px !important;
      
    padding          0px 3px 2px 6px;
      
    font-family      arialhelveticasans-serif;
      
    font-size        10px;
      
    height           12px !important;
      
    height           12px;
      
    width            150px !important;
      
    width            152px;
      
    color            #999999;
      
    background       #FFFFFF;
    }
    .
    back_button {
      
    color            #333333;
      
    font-family      VerdanaArialHelveticasans-serif;
      
    background       url(../images/bb.gif);
      
    background-repeatno-repeat;
      
    white-space      normal;
      
    font-weight      normal;
      
    border           1px solid #999999;
      
    padding-bottom   4px;
      
    padding-left     20px;
      
    padding-right    2px;
      
    padding-top      5px;
      
    margin-right     4px;
      
    float            right;
      
    line-height      10px;
      
    text-decoration  none
    }
    .
    button {
      
    color            #333333;
      
    border           1px solid #999999;
      
    margin-bottom    5px;
      
    background-color #EDEDED;
      
    padding          1px;
    }
    .
    inputbox {
      
    border           1px solid #999999;
      
    background       transparent url(../images/back.gif);
      
    background-color #EDEDED;
      
    margin-bottom    5px;
      
    color               #333333;
    }
    .
    sectiontableheader {
      
    font-size        11px;
      
    font-weight      normal;
      
    letter-spacing   1px;
      
    color            #333333;
      
    background       #EDEDED;
      
    padding          1px;
    }
    .
    sectiontableentry1 {
      
    vertical-align   top;
      
    padding          3px;
      
    background       #E3E3E3;
      
    border-top       1px solid #FFFFFF;
      
    border-bottom    1px solid #999999;
    }
    .
    sectiontableentry2 {
      
    vertical-align   top;
      
    padding          3px;
      
    border-top       1px solid #FFFFFF;
      
    border-bottom    1px solid #999999;

    Fortsetzung folgt...
    Wenn ich Dir helfen konnte, klick bitte auf den "DANKE"-Button...

  2. #2
    War schon öfter hier Avatar von tobiasax
    Registriert seit
    21.07.2006
    Beiträge
    118
    Bedankte sich
    20
    Erhielt 9 Danksagungen
    in 8 Beiträgen

    Standard

    Hier gehts weiter:

    PHP-Code:
    a.mainlevel  {
      
    margin           0px;
      
    padding          0px;
      
    width            168px;
      
    text-indent      10px;
    }
    a.mainlevellink {
      
    padding          0px 0px 0px 0px;
      
    width            168px;
      
    text-indent      10px;
    }
    a.mainlevel:linka.mainlevel:visited {
      
    display          block;
      
    border-top       1px solid #ffffff;
      
    border-bottom    1px solid #999999;
      
    font-weight      normal;
      
    padding          2px 0px 2px 0px;
      
    color            #333333;
      
    width            168px;
      
    text-indent      10px;
      
    font-familyVerdanaGenevaArialHelveticasans-serif;
    }
    a.mainlevel:hover {
      
    background-color #ededed;
      
    font-weight      normal;
      
    text-decoration  none;
      
    text-indent      10px;
      
    color            #cc9933;
      
    }
    #active_menu {
      
    color            #cc9933;
      
    background-color #ededed;
      
    font-weight      bold;
    }
    a#active_menu:hover {
      
    color            #333333;
    }
    a:linka:visited {
      
    color            #996600;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    a:hover {
      
    color            #333333;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    a.category:linka.category:visited {
      
    font-weight      bold;
    }
    a.readon:linka.readon:visited {
      
    color            #996600;
      
    font-family      VerdanaArialHelveticasans-serif;
      
    background       url(../images/read.gif);
      
    background-repeatno-repeat;
      
    white-space      normal;
      
    font-weight      bold;
      
    border           1px solid #999999;
      
    padding-bottom   3px;
      
    padding-left     21px;
      
    padding-right    2px;
      
    padding-top      1px;
      
    float            left;
      
    line-height      10px;
      
    text-decoration  none
    }
    a.readon:hover {
      
    color            #333333;
      
    font-family      VerdanaArialHelveticasans-serif;
      
    background       url(../images/read.gif);
      
    background-repeatno-repeat;
      
    white-space      normal;
      
    font-weight      bold;
      
    border           1px solid #999999;
      
    padding-bottom   3px;
      
    padding-left     21px;
      
    padding-right    2px;
      
    padding-top      1px;
      
    float            left;
      
    line-height      10px;
      
    text-decoration  none
    }
    ul {float          left;
      
    margin           2px;
      
    padding-left     10px;
      list-
    style       none;
    }
    li {
      
      
    line-height      15px;
      
    padding-left     15px;
      
    padding-top      0px;
      
    background-image url(../images/bullet.png) ;
      
    background-repeatno-repeat;
      
    background-position0px 3px;
    }
    table.contenttoc {
      
    border           1px solid #FFFFFF;
      
    background       #F1F1F1;
      
    padding          5px;
      
    margin-left      2px;
      
    margin-bottom    2px;
    }
    .
    pagenavcounter {
      
    color            #996600;
    }
    .
    pagenavbar {
      
    border-top       1px solid #999999;
      
    padding          2px;
    }
    .
    pagenav {
      
    font-weight      bold;
      
    color            #CCCCCC;
    }
    a.pagenav:linka.pagenav:visited {
      
    text-decoration  none;
    }
    a.pagenav:hover {
      
    text-decoration  none;
    }
    .
    date {
      
    font-size        0.8em;
      
    color            #333333;
      
    padding-right    10px;
    }
    .
    small {
      
    font-size        0.8em;
      
    color            #333333;
    }
    .
    smalldark {
      
    font-size        0.8em;
      
    color            #333333;
    }
    .
    createdate, .modifydate {
      
    font-size        10px;
      
    color            #666666;
    }
    .
    content_vote {
      
    font-size        0.8em;
      
    height           22px;
      
    padding-top      2px;
      
    padding-bottom   2px;
    }
    .
    content_rating {
      
    font-size        0.8em;
      
    color            #CC9900;
    }
    .
    pathway {
      
    font-size        1.0em;
      
    color            #333333;
      
    padding-left     8px;
    }
    a.pathway:linka.pathway:visited {
      
    font-size        1.0em;
      
    padding-left     0px;
    }
    a.pathway:hover {
      
    font-size        1.0em;
      
    padding-left     0px;
    }
    table.content{
      
    width            100%;
      
    padding          0px;
      
    border-collapse  collapse;
      
    border-spacing   0px;
      
    margin-bottom    10px;
    }
    table.contentpane {
      
    width            100%;
      
    padding-left     5px;
      
    padding-right    5px;
      
    border-spacing   0px;
      
    margin-bottom    5px;
    }
    table.contentpaneopen {
      
    width            100%;
      
    padding-left     5px;
      
    padding-right    5px;
      
      
    margin-bottom    5px;
    }
    .
    pollstableborder{
      
    border-color     #999999;
    }
    .
    contentheading, .componentheading {
      
    background       url(../images/header.gifrepeat;
      
    font-size        1.0em;
      
    font-weight      bold;
      
    line-height      24px;
      
    text-align       left;
      
    color            #996600;
      
    width            100%;
    }
    .
    title {
      
    font-family      VerdanaGenevaArialHelveticasans-serif;
      
    font-weight      bold;
      
    text-indent      8px;
      
    font-size        20px;
      
    text-align       left;
      
    color            #FFFFFF;
    }
    .
    title a:link, .title a:visited {
      
    font-size        1.2em;
      
    color            #FFFFFF;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    title a:hover {
      
    font-size        1.2em;
      
    color            #FFFFFF;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    ontab {
      
    border-left      1px solid #404040;
      
    text-align       center;
      
    font-weight      bold;
      
    color            #333333;
      
    padding          5px;
      
    cursor           hand;
      
    line-height      40px;
    }
    .
    offtab {
      
    border-left      1px solid #404040;
      
    text-align       center;
      
    color            #999999;
      
    font-weight      normal;
      
    padding          5px;
      
    cursor           hand;
       
    line-height     40px;
    }
    .
    tabpadding {
     
    border-left       1px solid #404040;
    }
    .
    pagetext {
      
    visibility       hidden;
      
    position         relative;
      
    top              : -10;
      
    background-color #FFFFFF;
      
    display          none;
    }
    .
    footer {
      
    font-family      VerdanaGenevaArialHelveticasans-serif;
      
    color            #FFFFFF;
      
    font-weight      normal;
     }
    .
    footer a:link, .footer a:visited {
      
    color            #FFFFFF;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    footer a:hover {
      
    color            #333333;
      
    text-decoration  none;
      
    font-weight      bold;
    }
    .
    contact_email  {
      
    width            100%;
    }
    .
    contact_email .inputbox {
      
    width            345px
    Wenn ich Dir helfen konnte, klick bitte auf den "DANKE"-Button...

  3. #3
    War schon öfter hier Avatar von tobiasax
    Registriert seit
    21.07.2006
    Beiträge
    118
    Bedankte sich
    20
    Erhielt 9 Danksagungen
    in 8 Beiträgen

    Standard

    Kann mir keiner helfen?
    Wenn ich Dir helfen konnte, klick bitte auf den "DANKE"-Button...

  4. #4
    War schon öfter hier Avatar von tobiasax
    Registriert seit
    21.07.2006
    Beiträge
    118
    Bedankte sich
    20
    Erhielt 9 Danksagungen
    in 8 Beiträgen

    Standard

    Habe es alleine geschafft!

    Und twar habe ich in der CSS (siehe oben) einfach die ersten 3 Zeilen rausgelöscht.

    PHP-Code:
    * {
    margin:0;
    padding:0;

    Jetzt sind die Tabellen auch im Firefox zentriert.
    Wenn ich Dir helfen konnte, klick bitte auf den "DANKE"-Button...

+ Antworten

Ähnliche Themen

  1. Einfach?! Seite zentrieren : (
    Von Looom im Forum Joomla Templates
    Antworten: 5
    Letzter Beitrag: 27.07.2006, 20:42
  2. Tabellen / Raster erstellen
    Von noidea108 im Forum Joomla Anfänger
    Antworten: 0
    Letzter Beitrag: 19.07.2006, 10:32
  3. IE zeigt lange Tabellen falsch an
    Von RheaC im Forum Allgemeine Fragen zu Mambo
    Antworten: 5
    Letzter Beitrag: 19.04.2006, 19:28
  4. MOSCE 1.03 GERMAN: Bilder zentrieren
    Von rocksack im Forum Joomla Module
    Antworten: 2
    Letzter Beitrag: 15.03.2006, 20:23
  5. Warum keine Tabellen?
    Von Godot im Forum Allgemeine Fragen zu Joomla
    Antworten: 4
    Letzter Beitrag: 26.01.2006, 15:46

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein