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
Share This Thread :

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) 

Stay hungry, stay foolish. ~ Steve Jobs
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


Related Threads
Thread Author Replies Views Last Post
  [Cpagrip] How add content locker with image? Syberpro 18 7,932 2018-04-24, 07:25 AM
Last Post: joeclinz
  in youtube game videos how to add game image and name in description vinit91 3 333 2017-10-06, 04:23 PM
Last Post: yesman
  Tips for Growing a Facebook page ( viral photos/image) khelgor 4 567 2017-05-12, 01:28 AM
Last Post: siddakrish
  A adult image host thats simple and can be used for long term matisshakeris 1 763 2016-09-30, 11:20 AM
Last Post: John_Wick
  [image] What do you think about my start? [image] peacemaker 6 1,199 2016-08-23, 07:49 PM
Last Post: peacemaker





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

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