HTMLWorld - HTML, CSS, JavaScript, PHP, Java, Flash und vieles mehrHTMLWorld:   Home | Impressum
 

 
 
Archiv: Das HTMLWorld-Forum ist seit 2017 geschlossen. Hier sind die Beiträge zum Nachlesen erhalten. Anmelden, Antworten und Suchen sind nicht mehr möglich. Aktuelle Artikel gibt es im Ratgeber von a coding project.

Anzeige 
 
HTMLWorld » Forum

Thema anzeigen - feste tabellen weite bzw. cellen weite

 FAQFAQ   SuchenSuchen   MitgliederlisteMitgliederliste   BenutzergruppenBenutzergruppen   RegistrierenRegistrieren 
 ProfilProfil   Einloggen, um private Nachrichten zu lesenEinloggen, um private Nachrichten zu lesen   LoginLogin 

feste tabellen weite bzw. cellen weite

 

Neues Thema eröffnen   Neue Antwort erstellen    HTMLWorld Foren-Übersicht
   HTML
Vorheriges Thema:
Nächstes Thema:  
Autor Nachricht
sklefisch



Anmeldungsdatum: 19.06.2007
Beiträge: 1

BeitragVerfasst am: 19.06.2007 07:12:29    Titel: feste tabellen weite bzw. cellen weite Antworten mit Zitat

hi also ich hab das folgende problem:
ich hab ne tabelle die dynamisch erzeugt wird. nun werden per css die weiten festgesetzt der einzelnen zellen. danach werden per berechnungen ein paar divs hinzugefügt und das sollte dann alles so aussehen :
also das ist das ergebnis im IE7. wenn man nun das ganze im FF2.0.0.4 anschaut, werden die css width attribute einfach ignoriert. hier der code :
Code:

<span id="TimeLineGrid1" class="DEFAULT" cellspacing="0" cellpadding="0" style="display:-moz-inline-box;"><table class="DEFAULT" border="0">
   <caption>
      Bla Test
   </caption><tr id="TimeLineGrid1__timeScaleRow_">
      <td id="TimeLineGrid1__timeScaleRow__Carer" class="TIMESCALE" style="width:60px;"></td><td id="TimeLineGrid1__timeScaleRow__0" class="TIMESCALE" colspan="10" style="width:600px;">Montag, 4. Juni 2007</td><td id="TimeLineGrid1__timeScaleRow__1" class="TIMESCALE" colspan="10" style="width:600px;">Dienstag, 5. Juni 2007</td><td id="TimeLineGrid1__timeScaleRow__2" class="TIMESCALE" colspan="10" style="width:600px;">Mittwoch, 6. Juni 2007</td>

   </tr><tr id="TimeLineGrid1__timePeriodRow_">
      <td style="width:60px;"></td><td class="TIMEPERIOD" style="width:60px;">08:00</td><td class="TIMEPERIOD" style="width:60px;">09:00</td><td class="TIMEPERIOD" style="width:60px;">10:00</td><td class="TIMEPERIOD" style="width:60px;">11:00</td><td class="TIMEPERIOD" style="width:60px;">12:00</td><td class="TIMEPERIOD" style="width:60px;">13:00</td><td class="TIMEPERIOD" style="width:60px;">14:00</td><td class="TIMEPERIOD" style="width:60px;">15:00</td><td class="TIMEPERIOD" style="width:60px;">16:00</td><td class="TIMEPERIOD" style="width:60px;">17:00</td><td class="TIMEPERIOD" style="width:60px;">08:00</td><td class="TIMEPERIOD" style="width:60px;">09:00</td><td class="TIMEPERIOD" style="width:60px;">10:00</td><td class="TIMEPERIOD" style="width:60px;">11:00</td><td class="TIMEPERIOD" style="width:60px;">12:00</td><td class="TIMEPERIOD" style="width:60px;">13:00</td><td class="TIMEPERIOD" style="width:60px;">14:00</td><td class="TIMEPERIOD" style="width:60px;">15:00</td><td class="TIMEPERIOD" style="width:60px;">16:00</td><td class="TIMEPERIOD" style="width:60px;">17:00</td><td class="TIMEPERIOD" style="width:60px;">08:00</td><td class="TIMEPERIOD" style="width:60px;">09:00</td><td class="TIMEPERIOD" style="width:60px;">10:00</td><td class="TIMEPERIOD" style="width:60px;">11:00</td><td class="TIMEPERIOD" style="width:60px;">12:00</td><td class="TIMEPERIOD" style="width:60px;">13:00</td><td class="TIMEPERIOD" style="width:60px;">14:00</td><td class="TIMEPERIOD" style="width:60px;">15:00</td><td class="TIMEPERIOD" style="width:60px;">16:00</td><td class="TIMEPERIOD" style="width:60px;">17:00</td>

   </tr><tr class="DEFAULT">
      <td id="TimeLineGrid1_ctl01_carer101" class="CARER" style="width:60px;">Omid</td><td colspan="10" style="width:600px;"><div id="div_notworking_d2656b2c-47ff-4d84-85e1-05856025e9ce" class="notworking" style=" width:0px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_working_1_1_1" class="working" style=" width:178px;float:left; " methodName="sayHello"onmouseover="document.current_id = this.id;" ></div> <div id="div_appointment_1_1_1" class="appointment" style=" width:118px;float:left; " onmouseover="document.current_id = this.id;" >Jack</div> <div id="div_working_1_1_2" class="working" style=" width:178px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_notworking_d95b633f-304c-426f-a4a6-704ac86f32d0" class="notworking" style=" width:58px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td><td colspan="10" style="width:600px;"><div id="div_notworking_4bde06b6-de0e-43dd-bc9e-9b3e625bf57e" class="notworking" style=" width:88px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_working_1_2_3" class="working" style=" width:448px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td><td colspan="10" style="width:600px;"><div id="div_notworking_e34631bc-44c0-4adb-8ace-0cd5a585b812" class="notworking" style=" width:600px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td>
   </tr><tr class="DEFAULT">
      <td id="TimeLineGrid1_ctl02_carer102" class="CARER" style="width:60px;">Stefan</td><td colspan="10" style="width:600px;"><div id="div_notworking_d66c32eb-13c4-4073-ac3c-04ba7e90b0a5" class="notworking" style=" width:58px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_appointment_1_1_2" class="appointment" style=" width:58px;float:left; " onmouseover="document.current_id = this.id;" >Jerry</div> <div id="div_notworking_05e81cd0-ff14-4745-b4f8-8db4bc9888ad" class="notworking" style=" width:28px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_working_1_4_3" class="working" style=" width:28px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_appointment_1_1_4" class="appointment" style=" width:118px;float:left; " onmouseover="document.current_id = this.id;" >John</div> <div id="div_working_1_1_5" class="working" style=" width:118px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_notworking_7f48adcc-b08e-411a-9e31-a9b8e3662bb4" class="notworking" style=" width:118px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td><td colspan="10" style="width:600px;"><div id="div_notworking_4018ee1f-c72f-49a2-baa0-d45d173ed190" class="notworking" style=" width:88px;float:left; " onmouseover="document.current_id = this.id;" ></div> <div id="div_appointment_1_2_8" class="appointment" style=" width:58px;float:left; " onmouseover="document.current_id = this.id;" >Joe</div> <div id="div_working_1_2_8" class="working" style=" width:388px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td><td colspan="10" style="width:600px;"><div id="div_notworking_4707d4b5-eb84-459e-81f5-8d622257d3aa" class="notworking" style=" width:600px;float:left; " onmouseover="document.current_id = this.id;" ></div> </td>

   </tr>
</table></span>


hat vielleicht einer ne idee woran das liegen kann?

also bis dann
Stefan
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    HTMLWorld Foren-Übersicht
   HTML
Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.