Docking a <label> at the top of a <img>'s height

Page 1 of 1 [ 2 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

21 Aug 2011, 3:50 pm

Hey.
I want to simply dock a <label> at the top of a <img> s height.
EXAMPLE:
______
| | LABEL LABEL LABEL LABEL
| |PARAGRAPH PARAGRAPH PARAGRAPH
|_____|PARAGRAPH PARAGRAPH PARAGRAPH PARAGRAPH
PARAGRAPH PARAGRAPH PARAGRAPH PARAGRAPH

I want it to look like that.



StuartN
Veteran
Veteran

User avatar

Joined: 20 Jan 2010
Age: 60
Gender: Male
Posts: 1,569

23 Aug 2011, 6:37 am

Madbones wrote:
Hey.
I want to simply dock a <label> at the top of a <img> s height.


Stick them both inside a <div>, and style the division's margins.