People , help me plizz , left and top commands not works , | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

People , help me plizz , left and top commands not works ,

help align to the number 1 https://code.sololearn.com/WgZg22kw7Q4C/?ref=app

9th May 2018, 9:23 AM
oTARANo
oTARANo - avatar
5 Answers
+ 1
Update your q1 to include position, then play with the %: #q1 { position:absolute; text-align:center; left:4%; top:66%; }
9th May 2018, 9:42 AM
Duncan
Duncan - avatar
+ 6
thanks you bro)
9th May 2018, 9:50 AM
oTARANo
oTARANo - avatar
+ 1
what actually you want, describe it
9th May 2018, 9:33 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
position property is required for it.😊
9th May 2018, 2:32 PM
Dinesh Kumar
Dinesh Kumar - avatar
+ 1
Hi oTARANo, Your code have a bug. Line 62 set after 58 line in your HTML. Font in HTML replace to div. Font tag is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Open and close html tag replace with < and > In font tag replace color to class. Set class white to width: 2em and text-align:center;
11th May 2018, 11:25 AM
Josimov Dejan
Josimov Dejan - avatar