Also ich habe folgendes Problem ich möchte inhalb des Hauptdivs zentriert einen weiteren div anzeigen
ich hatte es auch vor stunden mal
aber irgendwie bekomm ichs nicht erneut hin ich schätz ich hab einfach iwo einen total doffen denkfehler ^^
ich versteh auch einfach ned warum er des jetzt ned einfach anzeigt
hier is mal der code
danke für eure hilfe
mfg
Marvin
ich hatte es auch vor stunden mal
aber irgendwie bekomm ichs nicht erneut hin ich schätz ich hab einfach iwo einen total doffen denkfehler ^^
ich versteh auch einfach ned warum er des jetzt ned einfach anzeigt
hier is mal der code
HTML:
<div style="width:500px; height:500px; margin:40px 174px 0px 174px; padding:0px; background:#E1E1E1 url(<?php echo "images/galerie/" . $bild . ".jpg" ?>) no-repeat center; -webkit-box-shadow:5px 5px 20px black; -moz-box-shadow: 5px 5px 20px black; box-shadow: 5px 5px 20px black;">
<form action="" method="post">
<input style="margin:-30px 0px 0px 0px; border:2px solid #E1E1E1; border-bottom:none; background:#E1E1E1; width:100px; height:30px; float:left; font-size:20px;" type="submit" value="zurück" name="z" onmouseover="this.style.background = 'white';" onmouseout="this.style.background = '#E1E1E1';" />
<input style="margin:-30px 0px 0px 120px; border:2px solid #E1E1E1; border-bottom:none; background:#E1E1E1; width:100px; height:30px; float:left; font-size:20px;" type="submit" value="Info" name="i" onmouseover="this.style.background = 'white';" onmouseout="this.style.background = '#E1E1E1';" />
<input style="margin:-30px 0px 0px 0px; border:2px solid #E1E1E1; border-bottom:none; background:#E1E1E1; width:100px; height:30px; float:right; font-size:20px;" type="submit" value="vor" name="v" onmouseover="this.style.background = 'white';" onmouseout="this.style.background = '#E1E1E1';" />
<input type="hidden" value="<?php echo $bild ?>" name="wert" />
</form>
<div style="width:480px height:200px; margin:150px 50px; background:white;">
</div>
</div>
danke für eure hilfe
mfg
Marvin