+ 2

How do I get my operands on right side css

Can't get them together and in the right side and can't get output on top of everything

5th Apr 2020, 1:43 PM
kaspars kaspars
kaspars kaspars - avatar
12 Respuestas
+ 3
Please Complete your question with a code or example of it as only theory is sometimes difficult for the people who wants to help. Please add the code in which you are getting this bug
6th Apr 2020, 4:41 AM
Sharique Khan
Sharique Khan - avatar
+ 2
the last div is for display flex and flex:1 means all 3 elements will take equal width in that row and yes its an html
6th Apr 2020, 9:28 AM
Sharique Khan
Sharique Khan - avatar
+ 1
ok I saw the code, You have used br tag to adjust them but you didnt succeed So the solution for this is flex use disply flex in a container div and add the items if you want 3 in a row then add 3 items in that with div tag for each button https://css-tricks.com/snippets/css/a-guide-to-flexbox/ https://www.w3schools.com/css/css3_flexbox.asp
6th Apr 2020, 8:11 AM
Sharique Khan
Sharique Khan - avatar
+ 1
Example for 3 items in a row like 1 2 3 <div style=“display: flex;”> <div style=“flex:1”> <button> 1 </button> </div> <div style=“flex:1”> <button> 2 </button> </div> <div style=“flex:1”> <button> 3 </button> </div> </div> Output ll be 1 2 3 in a line try this if succeed then tell me if not then too ask me M there
6th Apr 2020, 9:16 AM
Sharique Khan
Sharique Khan - avatar
+ 1
you are adding all buttons in one div display flex you should add only 3 buttons just like I should you den repeat the same procedure
6th Apr 2020, 9:36 AM
Sharique Khan
Sharique Khan - avatar
+ 1
u didnt add font-size value so its not working And i have send u a msg check it out
6th Apr 2020, 10:46 AM
Sharique Khan
Sharique Khan - avatar
+ 1
It don't work anyway with font size, damn I have really spent together like a month learning around 10+hours a day and I feel like I know less than a guy with 1 day experience learning wtf
6th Apr 2020, 10:54 AM
kaspars kaspars
kaspars kaspars - avatar
6th Apr 2020, 7:56 AM
kaspars kaspars
kaspars kaspars - avatar
0
A how can I but div on my buttons? <Div> <button>1</button> </div> <Div2><button>5</button> <\div2>? when I put display:flex it just goes all the way horizontaly till the end Damn I feel like never learning programming since can't do this so goddamn simple things after month of learning 12 hours a day https://code.sololearn.com/W8SeG7zx7vWg/?ref=app
6th Apr 2020, 9:10 AM
kaspars kaspars
kaspars kaspars - avatar
0
Is this html ? What does flex:1 mean? And where is <\div> for "display:flex;?"
6th Apr 2020, 9:20 AM
kaspars kaspars
kaspars kaspars - avatar
0
It doesn't work, the numbers is like in blocks not on the screen how it should be https://code.sololearn.com/W8SeG7zx7vWg/?ref=app
6th Apr 2020, 9:33 AM
kaspars kaspars
kaspars kaspars - avatar
0
Oh thanx found my mistake, can you tell me why .calculator-grid > button {} don't work? and how do I manage location on the screen of all buttons? with margin-top left right bottom? https://code.sololearn.com/W8SeG7zx7vWg/?ref=app
6th Apr 2020, 10:13 AM
kaspars kaspars
kaspars kaspars - avatar