Announcement

Collapse
No announcement yet.

Table mit Divs Problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Table mit Divs Problem

    Hi und schon wieder ein problem! also dieses mal geht es darum das ich eine Tabelle hab und das dort in einer TD zwei divs drin sind. im IE wird das alles angezeigt und es gibt kein problem, aber der firefox will einfach nix anzeigen.

    hier der code :

    HTML Code:
     <span id="TimeLineGrid1" class="DEFAULT" style="display:inline-block;width:1320px;"><table class="DEFAULT" border="0">
    	<tr>
    		<td style="width:60px;"></td><td class="TIMESCALE" colspan="10" style="width:600px;">Montag, 4. Juni 2007</td><td class="TIMESCALE" colspan="10" style="width:600px;">Dienstag, 5. Juni 2007</td>
    	</tr><tr>
    		<td style="width:60px;">Carer</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 class="CARER">Omid</td>
    <td class="WORKING" colspan="10">workinghours: 9:0</td>
    <td colspan="10"><div id="notworking" style="width:100px; float:left;"></div><div id="working" style="width:300px; background-color:Green;"></div></td>
    	</tr><tr class="DEFAULT">
    		<td class="CARER">Stefan</td>
    <td colspan="10"><div id="notworking" style="width:100px; float:left;"></div><div id="working" style="width:300px; background-color:Green;"></div></td>
    <td class="NOTWORKING" colspan="10"></td>
    	</tr>
    </table></span>
    hat einer ne idee woran das liegen könnte..?

    Stefan
    Attached Files

  • #2
    gefunden

    hab die lösung selbst gefunden. der ie nimmt als höhe die des td, aber der firefox setzt die höhe des divs auf 0. also wenn ich die div höhe selbsttändig setze dann wird beides richtig angezeigt.

    Stefan

    Comment

    Working...
    X