DJ Doena: Tabellen rechts ausrichten

Beitrag lesen

text-align richtet Inline-Elemente aus, nicht aber Blockelemente! table ist ein Block-Element und wird daher über seine margins zum Elternelement ausgerichtet:

table {margin-left:auto; margin-right:0;}

bei mir passiert da nix :-/ (die div hab ich jetzt rausgeworfen)

<body style="padding-bottom:0px; padding-right:0px; padding-top:0px; margin-bottom:0px; margin-right:0px; margin-top:0px; background-color:#960000; color:#000000;">
 <table border="0" cellpadding="0" cellspacing="0" width="758" style="margin-right:0px;">

auch nicht mit margin-left:auto, ich kriegs einfach nicht vom linken rand weg :-(