DIV text box? |
![]() ![]() |
DIV text box? |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 12 Joined: Apr 2009 Member No: 725,335 ![]() |
Does anyone have a good code for a DIV text box? I made an image to cover the left side of the layout, with a box designated for text, and I want to place a text box with those dimensions over the image. All the codes i've tried so far place the box behind the image, is there a way to put one in front of the image?
Thanks! |
|
|
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Try this code:
CODE <div style="position:absolute; top:#px; left:50%; margin-left:#px; height:#px; width:#px; z-index:9;"> Insert your content here. </div> Replace the pound symbols on the top and margin-left properties with values according to where you want it positioned. Do the same to the pound symbols on the height and width properties according to the size you want it to be. See if that works for you. |
|
|
![]()
Post
#3
|
|
Member ![]() ![]() Group: Member Posts: 12 Joined: Apr 2009 Member No: 725,335 ![]() |
Thanks Mike, exactly what I needed!
|
|
|
![]()
Post
#4
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Topic closed & moved.
|
|
|
![]() ![]() |