+ 1

How to align image right ,left ,centre ?

plz tell me.

14th Nov 2017, 2:09 PM
Shambhu Thapa
Shambhu Thapa - avatar
6 Antworten
+ 2
If you set both left and right to zero, and left and right margins to auto you can center an absolutely positioned element. position:absolute; left:0; right:0; margin-left:auto; margin-right:auto;
14th Nov 2017, 2:11 PM
MsJ
MsJ - avatar
+ 1
thank you....i wilk try this
14th Nov 2017, 2:14 PM
Shambhu Thapa
Shambhu Thapa - avatar
+ 1
i didn't knew how to apply. can you please post a sample.
14th Nov 2017, 2:18 PM
Shambhu Thapa
Shambhu Thapa - avatar
+ 1
<IMG align="right"/"left"/"center" >
14th Nov 2017, 3:01 PM
᠌᠌Code X
᠌᠌Code X - avatar