Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am using bootstrap .
Can anyone tell me how to make a button responsive ?
<input type="submit" class="btn btn-primary" value="Forgot Password" />
Responsive" is just a meaningless buzzword. What exactly do you want
the button to do? What do you want it to "respond" to? – Rocket Hazmat
User RocketHazmat is close to what i would yell the hell out in you ears. The button is already in a context of responDING in a fluid html frame
You want to make your button adapt to width of container ? Just give it the class needed.
<input type="submit" class="btn btn-block btn-primary" value="Forgot Password" />
or
<input type="submit" class="btn btn-primary" value="Forgot Password" style="width:100%" />
See this : http://twitter.github.io/bootstrap/base-css.html#buttons
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to put some buttons on the right from g-recaptcha? for example like this:
I've just added to your code;
<div class="g-recaptcha" data-sitekey="6LcnqWUUAAAAAEc8mxt6aE1GIvasVmPqfy-cgYFK"</div>
<button class="added">Oooh look, a button!</button>
<button name="add" type="submit" id="napBUT" name="btn" class="btn btn-danger btn form-control">send</button>
Apply width:304px;float:leftto .g-recaptcha and width:calc(100% - 304px);margin-top:0; to .added
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have this HTML code in a JSP page, but when I click it does not do anything
<button class="btn btn-grey" type="submit">Save device</button>
Hello Amadeu Cabanilles,
You have to put your button into form.
<form class="form-horizontal" method="post" modelAttribute="modelName" action="/submitSomeWhere">
<button type="submit" class="btn-lg btn-primary pull- right">Update</button>
</form>
Do you have proper form tags in your html , correct form post should be :
<form id="createMarkerForm"
method="post"
accept-charset="utf-8"
action="servletUrl">
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
<form action="quiz.cfm" method="get">
<fieldset>
<legend>Your Details</legend>
<div>
<label for="What is the length of a banana?">What is the length of a banana?:</label><br>
<input type="text" name="What is the length of a banana?" value="" maxlength="100" /><br>
</div>
<div>
<input type="submit" value="Submit" />
</div>
</fieldset>
</form>
Hello.
That is the code I have so far.
I want to know what I am supposed to do to actually get the answers, send them to my e-mail for example.
Thank you in advance,
Iluvpresident
The code below should be incorporated into the "quiz.cfm" page.
<cfmail
from="fromemailaddress"
to="toEmailAddress"
subject="A new form entry has been submitted">
A customer inquiry was posted to our website:
Text : #Form.answer#
</cfmail>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
This is the code I currently have, that opens the link in the same page. I want to modify this to make it open in a new tab.
<div class="big-button" ">
<input type="submit" value="Link name" />
</div>
Use target="_blank" in your anchor
Use this :
<div class="big-button" ">
<input type="submit" value="Link name" />
</div>
I think you need this
<a href='URL' target='_blank'>xyz</a>
Give the your url as href attribute and give target attribute as _blank. It will open in new window
<input type="button" value="Click Me!" onclick="window.open('http://google.com')" />
Hint:
target="_blank" is not validate W3C.
Use this code in a tag:
onclick="window.open(this.href); return false;"
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have two buttons (both working btw..I just need to change the appearance of them to match)
First button opens a print preview page, the second button opens the web browser print dialogue screen. I want to change the second button to match the first.
Is there anyway I can use a HREF on the second button and use an onclick...so it will use the same template for the button instead of fixing this through css?
First Button:
<div style="width:100%; text-align:right">
<a href='#Url.Action("Index", "Route", new { id = Id })'>
<button>Print Preview</button>
</a>
</div>
looks like:
second button:
<div style="width:100%; text-align:right">
<br />
<input type="button" value="Print" onclick="window.print();" />
</div>
looks like:
try this
<div style="width:100%; text-align:right">
<br />
<a onclick="window.print();">
<button>Print</button>
</a>
</div>