Andre: DIV Tag 10 Pixel vom linken rand ausrichten

Beitrag lesen

Hi Andreas,

<style type="text/css">
html, body {
 width: 100%;
 height: 100%;
 margin: 0px;
}
.rand {
 position: absolute;
 width: *;
 height: *;
 top: 116px;
 left: 150px;
 right: 25px;
 bottom: 25px;
 border: 1px solid #000000;
}
</style>

<div class="rand">
 Nur ein kleiner Test :-)
</div>

so gehts!

Grüße - Andre