|
|
|
| Всем привет !
Как с помощью стилей сделать чтобы надпись была под картинкой а-не справа и чтобы надпись невыходила за пределы картинки .
есть код :
#motioncontainer {
margin:0 auto;/* Uncomment this line if you wish to center the gallery on page */
width: 600px; /* Set to gallery width, in px or percentage */
height: 150px; /* Set to gallery height */
}
#motioncontainer a img {
border: 1px solid #cccccc; /* Set image border color */
}
#motioncontainer a:hover img {
border: 1px solid navy; /* Set image border hover color */
}
#statusdiv {
background-color: lightyellow;
border: 1px solid gray;
padding: 2px;
position: absolute; /* Stop Editing Gallery Styles */
left: -300px;
visibility: hidden;
}
#motioncontainer a:hover {
color: red; /* Dummy definition to overcome IE bug */
}
|
| |
|
|
|
|
|
|
|
для: dima2207
(13.01.2008 в 05:08)
| | используйте слои,
картинка z-index:2;
текст z-index:1; | |
|
|
|
|
|
|
|
для: THERAPYbrother
(13.01.2008 в 07:33)
| | Как это сделать , если у меня каринки выводятся в цыкле в ряд :
<div id="motioncontainer" style="position:relative;overflow:hidden;">
<div id="motiongallery" style="position:absolute;left:50;top:0;white-space: nowrap;">
<nobr id="trueContainer">
<? for ($t=1;$t<count($news1);$t++){
if ($news1[$t]==''){}
else {
?>
<a href="<?=@$news1[$t];?>" rel="lightbox" title="<center><font color=red><?=@$news3[$t];?><br>СКАЧАТЬ ЭТО ФИЛЬМ</font></center>" rev="index.php?oz=<?=@$news2[$t];?>"><img src="<?=@$news1[$t];?>" width="70" height="111" alt="" border="0"></a>
<?
}
?>
</nobr>
</div>
</div>
|
| |
|
|
|
|
|
|
|
для: dima2207
(13.01.2008 в 11:06)
| | подставте стлили в img | |
|
|
|
|
|
|
|
для: THERAPYbrother
(13.01.2008 в 12:20)
| | Как ? Приведите пример . | |
|
|
|
|
|
|
|
для: dima2207
(13.01.2008 в 12:22)
| | вы абсолютно не знаете css?
я еще даже код не смотрел)ща попробую разобраться | |
|
|
|
|
|
|
|
для: THERAPYbrother
(13.01.2008 в 12:31)
| | Нет , бесполезно align непомогает ! | |
|
|
|
|
|
|
|
для: dima2207
(13.01.2008 в 12:54)
| | вставте
| |
|
|
|