Page 1 of 1

kodas po image

Posted: 2014 May 09 14:22
by haciawo
Sveiki, niekaip nepavyksta ismastyti kaip padaryti .

Kad image butu ir ant jo tekstas detusi mano norimas ( aisku nepiestas ). numesiu pvz:

Image


Buciau labai dekingas uz suteikta pagalba +karma.

Re: kodas po image

Posted: 2014 May 09 17:17
by hleV
Gali po paveikslėliu esančio HTML elemento stiliui priskirt neigiamą margin-top.

Code: Select all

<img src="http://mc.games-tops.eu//dynamic_image.php?s=4&type=background" /><div style="color: white; margin-top: -60px; padding: 10px;">Tekstas.</div>

Re: kodas po image

Posted: 2014 May 10 12:01
by the7n

Code: Select all

 <div id='paveikslelis'><div id='tekstas'>Zaidzia: 15 is 85</div><img src='http://mc.games-tops.eu//dynamic_image.php?s=4&type=background' border='0' alt='' id='img'></div> 

Code: Select all

#paveikslelis{float:left;margin:0px 0px 0px 0px;}#tekstas{font-family:Arial;font-size:15px;color:#ffffff;position:absolute;}#img{wdth:468px;height:60px;float:left;margin:0px 0px 0px 0px;}