|
|
place textbox over an image - CSS
|
Views : 2943
|
|
Tagged in : CSS
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|