PDA

View Full Version : Question.



kenshn111
May 12th, 2010, 06:48 PM
How to do something like this? :
http://i40.tinypic.com/2h4ksqx.png(done with paint)
Wherein the Admin is between the image?

effpeetee
May 12th, 2010, 06:54 PM
How to do something like this? :
http://i40.tinypic.com/2h4ksqx.png(done with paint)
Wherein the Admin is between the image?
Not clear what you mean or intend.

Frank

kenshn111
May 12th, 2010, 07:24 PM
How to do something like this? :
http://i40.tinypic.com/2h4ksqx.png(done with paint)
Wherein the Admin is between the image?

How to do something like that in CSS/HTML?

Major Payne
May 13th, 2010, 05:58 PM
I, also, am not clear on your intentions. Do you want the text "ADMIN" over the image itself as it would be hard to put it "between" as you requested. Setting the image as a background of a div container and then putting the text positioned over can be done if that's what you want.

_Aerospace_Eng_
May 14th, 2010, 07:08 AM
That element would need to have a set height and then it would need to have a line-height set to match that height. This would only work if the text never went to two lines and you didn't have stacked images.

abduraooft
May 14th, 2010, 10:42 AM
Can't give a solution without seeing your complete code (html+css) or a link to your page, though try setting vertical-align:middle; to that image in style/CSS.