Ich glaub ich verstehe float falsch.
Wenn ich den Button in zeile 4 mit float nutze, dann ist der Inhalt versetzt.
html-seminar.de/woltlab/attachment/403/
Wie kann man das verhindern? Oder was mach ich hier falsch?
HTML
<div class="window_wrap">
<div style="text-align:left;" class="window_title">
MY REPORTED PLAYERS (Players you reported at "PlayerCheck")
<input style="float:right;" type="button" class="small_submit_button" onclick="toggleById('my_reports');" name="toggle" title="show/hide content" value="show/hide" />
</div>
<div id="my_reports" class="window_content">
<!-- my reports [START] -->
<form name="Profile" action="http://localhost/istats2/index.php?action=profile" method="POST" enctype="text/html" onsubmit="toggleByClass('loadingbar');">
<input type="hidden" name="action" value="profile" />
<table class="sortierbar" id="table_wpn_list">
<thead>
<tr>
<th class="sortierbar" id="th_wpn_list">Select</th>
<th class="sortierbar-" id="th_wpn_list">Player</th>
<th class="sortierbar-" id="th_wpn_list">Game</th>
<th class="sortierbar-" id="th_wpn_list">Reported on</th>
<th class="sortierbar-" id="th_wpn_list">Admin Feedback</th>
<th class="sortierbar-" id="th_wpn_list">Status</th>
</tr>
</thead>
<tbody>
<tr bgcolor="transparent" onmouseover="this.bgColor='#424242'" onmouseout="this.bgColor='transparent'">
<td class="td_wpn_list" style="text-align:center;width:55px;background:#130000;">
<input disabled="disabled" title="disabled until ticket is marked as 'closed' by admin" type="checkbox" name="selected_report_to_del[]" value="1" />
</td>
<td class="td_wpn_list" style="text-align:left;">
cottton
</td>
<td class="td_wpn_list" style="text-align:left;width:60px;">
BFBC2
</td>
<td class="td_wpn_list" style="text-align:left;width:210px;">
Mon 24 Sep 2012 - 13:30:43
</td>
<td class="td_wpn_list" style="text-align:left;">
NA
<div class="small-grey-txt-float-right"></div>
</td>
<td class="td_wpn_list" style="text-align:center;width:60px;">
open
</td>
</tr>
</tbody>
</table>
<span class="small-dark-txt">delete selected report:</span>
<br />
<input class="submit_button" disabled="disabled" title="disabled until at least 1 ticket is marked as 'closed' by admin" type="submit" name="delete_reported_ply" value="delete" />
</form>
<!-- my reports [END] -->
</div>
</div>
Alles anzeigen