Background position in RTL mode
Posted: 04 November 2008 06:43 PM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2008-10-03

Hi,

Iam working on a page which should work both in Left to Right and Right to Left mode.Can some one tellme how to set the background position for a image in a RTL mode.Like in LTR mode it is set as background-position: 6px; i.e x pos 6px.The same i want to set in RTL mode i.e 6px from right side.

Please help me.

Thanks.

Profile
 
 
Posted: 04 November 2008 06:49 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
RankRankRank
Total Posts:  52
Joined  2007-11-08

Create an inner div with a 6px margin-right and put your background in it.

Profile