how to hide of the haft the image?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

how to hide of the haft the image?

Post by jayson.ph »

Hi to all,

how to hide of the haft the image? Example i have full image like this "><" imagine that this is one image not two. and i want only to view is the side of "<" and how to do that?

Please help.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: how to hide of the haft the image?

Post by social_experiment »

Try setting the image as a background image then give the element a width half the size of the picture's width;
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply