How do I place text over an image?

Total Post:108

 1826  View(s)
Rate this:
Hi every one,

From last night I'm trying to write text over on image. can you help in this problem!

Thanks in advance.
  1. Post:604

    Re: How do I place text over an image?

    Hi John Rob,

    To place text or image over an image you use the position property. The below example is supported by IE 4.0. All you have to do is adapt the units to your need.

    <div style="position:
    relative; width: 200px; height: 100px"> 
    <div style="position: absolute; top: 0; left: 0; width: 200px">
    <div style="position: absolute; top: 20%; left: 20%; width: 200px">
    Text that nicely wraps

      Modified On Mar-29-2018 05:54:13 AM



Enter your email address here always to be updated. We promise not to spam!