Szukam rozwiązania pewnego problemu. Próbuje coś z tym zrobić od dobrych 25min i nie mam już najmniejszego pomysłu jak to zrobić. Tak jak widać na poniższym rys. chciałbym aby to białe pole (div - bottom) był odsunięty o 10px od dołu tego wewnętrznego bloku (mini-block). Moglibyście coś mi doradzić?
Rys.

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" /> <link rel="stylesheet" type="text/css" href="./s.css" /> </head> <body> <div id="block"> <div class="mini-block"> </div> </div> </body> </html>
CSS:
/* Common */ * { font-family: Tahoma, Verdana, sans-serif; } html { margin: 0; padding: 0; font-size: 11px; } body { color: #000; margin: 0; padding: 0; background-color: #FFF; text-align: center; } /* */ #block { margin: 0; padding: 0; background-color: #F1F1F1; width: 300px; height: 96px; position: relative; float: left; text-align: center; top: 10px; left: 10px; } div.mini-block { background-color: #E0E0E0; height: 80px; width: 284px; margin: 5px; padding: 3px; } div.block-inside { margin-top: 1px; margin-bottom: 3px; text-align: justify; } div.bottom { color: #E69905; background-color: #FFF; text-align: center; position: relative; }
P.S. Nie patrzcie na to, że czasami ten CSS jest bzdurny, ale wycinałem go, jak i html'a z większego pliku i usuwałem co zbędne - może o czymś zapomniałem ;p