place textbox over an image - CSS Views : 2943
Tagged in : CSS
Send mail vote down 0 vote down 0
Input/Text box over an image:

Sometimes there may be a case of placing input box/textbox over an image(for eg, over header image/anything).
So to place textbox over an image use css position property,

.pos
{
position:absolute;
left:100px;
top:150px;
}


Adjust top and left attributes to place textbox/input box in an exact position.

Use the above style in <img> as
<img src="test.jpg"><input type=text class="pos"></img>
By - Ramya, On - 2009-03-13




    Login to add Comments .