Also weder
Code:
<p style="margin:0 auto;">
{xevidwidebotplus}video/people/timea_majorova_fer.flv|false|320|292|Fitness Expo Roma|0|0|0x4186cb|images/stories/timea_majorova/profil/video_timea_majorova_fer.jpg{/xevidwidebotplus}
</p>
noch
Code:
<span style="text-align:center;">
{xevidwidebotplus}video/people/timea_majorova_1.flv|false|320|270|Timea Majorova|0|0|0x4186cb|images/stories/timea_majorova/profil/video_timea_majorova_1.jpg{/xevidwidebotplus}
</span>
setzt das Video in die mitte...
Ich steig bald auf Tabellen um, hmpf.
Das einzige was mich davon abhält meine Seite mit Content/Artikeln zu füllen ist das ausrichten in der mitte.
"text-align: center;" ist ja auch nicht für Bilder usw. gedacht.
Richtig wäre ja
Code:
<div style="width:300px; display:block; margin-left: auto; margin-right:auto;">
<p style="margin:0px;"><img src="bild1.jpg" style="margin:2px;" alt="Bild 1" /><img src="bild2.jpg" style="margin:2px;" alt="Bild 2" /><img src="bild3.jpg" style="margin:2px;" alt="Bild 3" />
</p>
<p style="margin:0px;"><img src="bild1.jpg" style="margin:2px;" alt="Bild 1" /><img src="bild2.jpg" style="margin:2px;" alt="Bild 2" /><img src="bild3.jpg" style="margin:2px;" alt="Bild 3" />
</p>
Aber das geht eben nur wenn man die Bildgröße hat. Bei mir werden die thumbs automatisch erstellt und wenn ich mal ein Bild austauche und es hat ein anderes Seitenverhältniss, dann stimmt die width angabe vom div nicht mehr...