+ 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
12 Antworten
+ 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
+ 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
+ 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
+ 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
+ 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
+ 1
u didnt add font-size value so its not working And i have send u a msg check it out
+ 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
0
Damn forgot, here's the code
https://code.sololearn.com/WjhjUxE7nXyo/?ref=app
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
0
Is this html ? What does flex:1 mean? And where is <\div> for "display:flex;?"
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
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