+ 4

[OFF-TOPIC]Align a picture.

How to align a picture to the right of the webpage. Without using any block level or inline element.

3rd Apr 2018, 1:50 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
7 Answers
+ 2
you can align any image just like a text. first give a class name like In html <div class = p /> in css p { background : url () text align : right or left } I hope this helps you for text you can see here https://www.sololearn.com/learn/CSS/1090/
3rd Apr 2018, 5:28 PM
Ujjwal Kumar
Ujjwal Kumar - avatar
+ 8
Use CSS.
3rd Apr 2018, 1:56 PM
Robyn A
Robyn A - avatar
+ 6
Oh ok. I don't know then, I'm sorry.
3rd Apr 2018, 2:02 PM
Robyn A
Robyn A - avatar
+ 3
I know to use CSS Robyn A. But my question needs a method to fix it to. The align attribute won't work.
3rd Apr 2018, 1:59 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
+ 3
Nevermind. Robyn A
3rd Apr 2018, 2:06 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
+ 3
Thanks for your help Robyn A Ujjwal Kumar.
3rd Apr 2018, 10:50 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
+ 2
I solved it. Use float property in CSS.
3rd Apr 2018, 10:49 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar