How to overlay text on image in dreamweaver?
2014-07-10, 10:46 AM,
#1
alright so im having a little problem. on Dreamweaver. how can i overlay my text that i made in Dreamweaver overtop of my image. cause it always falls behind the image and i cant figure out how to fix this =/.
Reply
2014-07-10, 10:58 AM,
(This post was last modified: 2014-07-10, 11:10 AM by polaskx.)
#2
Well you need to do this. You need to give the text a z-index so it fall on top it.:
<style>
.block { position: relative; }
.block span { position: absolute; z-index: 99; }
</style>

<div class="block">
<img src="{path to your image}" />
<span>Sample Text</span>
</div>

I can't pm you now cause I have less than 50 posts. PM me your skype to help you.
Latest Thanks - View all

Xzyl(2014-07-10 11:19 AM) 
Reply
2014-07-10, 11:19 AM,
#3
(2014-07-10, 10:58 AM)polaskx Wrote: Well you need to do this. You need to give the text a z-index so it fall on top it.:
<style>
.block { position: relative; }
.block span { position: absolute; z-index: 99; }
</style>

<div class="block">
<img src="{path to your image}" />
<span>Sample Text</span>
</div>

I can't pm you now cause I have less than 50 posts. PM me your skype to help you.

Awesome thanks he fixed my issue!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  in youtube game videos how to add game image and name in description vinit91 3 147 2017-10-06, 04:23 PM
Last Post: yesman
  Tips for Growing a Facebook page ( viral photos/image) khelgor 4 378 2017-05-12, 01:28 AM
Last Post: siddakrish
  A adult image host thats simple and can be used for long term matisshakeris 1 592 2016-09-30, 11:20 AM
Last Post: Verilog
  [image] What do you think about my start? [image] peacemaker 6 1,003 2016-08-23, 07:49 PM
Last Post: peacemaker
  Requirements for Posting Image in Cpaelites ? ashu55 3 386 2016-06-16, 01:36 PM
Last Post: WarAffiliate




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top