Eine Frage die ich nicht gelöst bekomme ist, wie schaffe ich es das die Produktbilder in der Übersicht in der betreffenden (gelb) div-box vertical zentriert sind. Mit "vertical-align:middle;" funktioniert es nicht, auch mit "margin:auto;" nicht.
Zum anschauen: Romane - buchsender.de
der betreffende css Code aus der "stylesheet.css":
Zum anschauen: Romane - buchsender.de
der betreffende css Code aus der "stylesheet.css":
- /* PRODUCT PREVIEW */
- .productPreview {
- padding:0;
- margin:0;
- }
- .productPreviewContent {
- width:155px;
- margin:0 0 15px 38px;
- border:2px solid #aaa; /*#d3c1da*/
- float:left;
- height:184px;
- line-height:11px;
- text-align:center;
- letter-spacing:-0.1px;
- background: #fbfaff;
- border-radius:5px;
- }
- .teil1 {
- background-color:lightgreen;
- height:30px;
- line-height:13px;
- position:relative;
- top:-1px;
- }
- .teil2 {
- background-color:yellow;
- height:129px;
- line-height:125px;
- position:relative;
- top:-1px;
- }
- .teil3 {
- background-color:lightblue;
- height:25px;
- vertical-align:bottom;
- position:relative;
- bottom:5px;
- text-align:left;
- padding-left:15px;
- }