No replies
francistan
Offline
newbie
Last seen: 11 years 43 weeks ago
Timezone: GMT+8
Joined: 2011-04-11
Posts: 1
Points: 2

Hi guys, got a question here and need some help on css coding.

how can i hover a text with background image,

for example i got a text "My name is Francis, and I live in Cebu" and this would be in 2 lines since I specify a width of 150px; so how can i make my backgound image adjust to its height?

should i need to have 3 images:
top-image
middle-image (repeat-y)
bottom-image

please help me with this, thanks