Vinzenz Mai: In Inline-Divs die Inhalte vermitteln

Beitrag lesen

Hallo Tom,

»     div.thumbframe  

>     {  
>         height:<?php echo (THUMB_SIZE + 8); ?>px; /* ungültiger Wert für height :-) */  
>         width:<?php echo (THUMB_SIZE + 8); ?>px;  /* dito */  
  
/* PHP-Code ist für clientseitige Problem irrelevant, aber das weißt Du doch */  
  

>         text-align:center;  
>         vertical-align:middle;  
>         background-color:#FFEEEE;  
>         margin:4px;  
>         padding-top:2px;  
  
/*  
   was denn jetzt?  
*/  
  

>         display:inline;  
  
/*  
   oder doch display: block;  
   siehe [link:http://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#dis-pos-flo]  
*/  
  

>         float:left;  
  
/*  
    warum nicht display: inline-block; ?  
*/  
  

>         border:1px solid black;  
>     }

Freundliche Grüße

Vinzenz