Dirk: Tabelle in einem Div Tag rechts ausrichten

hallö.

ich habe ein div tag, welches 600px breit ist. darin befindet sich eine tabelle, die 300px breit ist. nun möchte ich, dass die tabelle im div tag rechtsbündig erscheint, also auf der rechten seite, nicht auf der linken. einfache aufgabe, aber unlösbares problem (bisher).

zum kopieren unten der quelltext. bin für jede hilfe dankbar!

viele grüße, dirk

<div style="width: 600px;">
<table id="logintabelle" style="width: 300px;">
<tr>
<td class="labelhalter"><label for="email">E-Mail:</label></td>
<td><input type="text" class="eingabefeld" name="email" /></td>
</tr>
<tr>
<td class="labelhalter"><label for="passwort">Passwort:</label></td>
<td><input type="password" class="eingabefeld" name="passwort" /> </td>
</tr>
<tr>
<td></td>
<td>
<input id="loginbutton" type="submit" name="" value="&nbsp;&nbsp;Login&nbsp;&nbsp;" /><br/>
<a href="#">Registrieren</a><br/>
<a href="#">Passwort vergessen</a>
</td>
</tr>
</table>
</div>

#logintabelle  {
                                         margin: 15px 0;
                                         color: #666666;
                    }

.labelhalter  {
                    width: 80px;
                    text-align: right;
                    }

label   {
                    padding-right: 5px;
                    color: #666666;
                    }

.eingabefeld  {
             margin: 1px 0;
     border: 1px #ccc solid;
         background: #fafafa;
     color: #777;
                                         width: 145px;
                    }

#loginbutton  {
                    margin-top: 3px;
                    margin-bottom: 7px;
                    }

#logintabelle tbody tr td a
                    {
                                         color: #666666;
                                         font-size: 0.9em;
                                         text-decoration: none;
                    }

  1. Ohem. Bilde ich mir das ein oder hast Du wirklich nirgends CSS-Attribute zum Positionieren der Tabelle angegeben?

    Geht denn align oder float in deinem Beispiel nicht? (Ich bau es jetzt nicht extra nach, vielleicht mit mehr Infos was du schon versucht hast)