Css for <input type="button" value="cal" id="ch"></input> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Css for <input type="button" value="cal" id="ch"></input>

I did tried, but unable to work, any help

21st Jun 2017, 5:25 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
6 Answers
+ 1
input doesn't have an end tag. what did you try and what do you want the outcome to be? do you have a sample code?
21st Jun 2017, 5:53 PM
Mario L.
Mario L. - avatar
+ 1
okay, got that, but how do you want it to be styled? where's your css?
21st Jun 2017, 6:05 PM
Mario L.
Mario L. - avatar
+ 1
Oh, okay. well it depends on what you want it to look like. if you don't have any idea, search for “form css“ in Google. there are many great examples from simple to extraordinary. and take the css course here. it will help you to understand how css works.
21st Jun 2017, 8:36 PM
Mario L.
Mario L. - avatar
0
<div id="display"><input type="text" id="d" value="0"></input></div> <div class="but"><input type="button" value="7" onclick="cale(this.value)"</div> first one to display result entered, 2nd is the key, I want to style it using CSS,
21st Jun 2017, 5:59 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
0
that's my quest, how to design it using CSS...
21st Jun 2017, 6:06 PM
ASHISH PANDEY
ASHISH PANDEY - avatar
0
I used some but none worked, I don't know why
21st Jun 2017, 6:06 PM
ASHISH PANDEY
ASHISH PANDEY - avatar