<? $month = "LUT"; $day = "29"; $title = "Jak skutecznie porozumiewać się z pacjentem?"; $city = "Warszawa"; ?> <div class="div_data"> <table> <tr> <th><? echo $month; ?></th> </tr> <tr> <td><? echo $day; ?></td> </tr> </table> </div> <div class="div_place"> <div class="th"><? echo $title; ?></div> //to tu treść się nie zawija, a w css ponizej wyglada to tak... <div class="td"><br><? echo $city; ?></div> </div>
.div_place { position: relative; width: 100px; top: -38px; left: 60px; text-align: left; overflow: hidden; } .div_place .th { position: absolute; width: 100%; font-family: Titillium; font-size: 13px; color: #006980; -webkit-transition: color 500ms ease 0ms; -moz-transition: color 500ms ease 0ms; -ms-transition: color 500ms ease 0ms; transition: color 500ms ease 0ms; } .div_place .td { width: 100%; font-family: Titillium; font-size: 11px; color: #B4B4B4; -webkit-transition: color 500ms ease 0ms; -moz-transition: color 500ms ease 0ms; -ms-transition: color 500ms ease 0ms; transition: color 500ms ease 0ms; }
w razie czego daję url http://smusic.nazwa.pl/_lenard/
chodzi o "najblizsze konferencje" pierwszą komórkę (diabetologia) tam tak to wygląda...