I am a new programmer basically a beginner, I am trying out whatever my uncle told me about HTML. I'm trying to find out how to make the first text boxes transparent.
Please help me,
enter link description here
I am not sure what you mean by "transparent". but maybe something like
<form>
<input type="text" style="opacity: 0.5;" />
</form>
Anothere thing you might want is to "not display" the textbox, or make it inactive. I recommend you check out https://www.w3schools.com/css/css_image_transparency.asp
Here is a link to the code:https://www.twitlonger.com/show/n_1srlifs?new_post=true
()9
Related
Coding a simple radio button generates a blue button
<input type="radio" name="sample" />
<input type="radio" name="sample" />
See http://jsfiddle.net/XytJC/2/
How can I make these red?
Thanks
At the moment it's impossible to make it appear in the same way across the all available browsers because of not fully supported CSS3 and HTML5. So what I suggest you, is to use a plugin Uniform.js to get what you are looking for.
But if you are asking this question, I would mention also, that you will need to achieve this by using the css sprite method. Here on This website you will find the corresponding documention of "how to..."
Try using a span, as explained here.
I'm new to web development
I want to submit a form with the label names.
I mean in my html page i have shown some details of a person. Those details are showing using labels. After clicking submit button i want to submit that details to another HTML page
Anyone have a Idea how to do that?
Use the concept of hidden fields.
http://www.w3schools.com/tags/att_input_type.asp
Why not style input fields to look like labels? You could even stop them from being editable. That way a form submit will ensure they get posted.
You can use hidden field with labels
input type="hidden"
I'll give You an example of my way of solving this:
I declare two html elements as this:
<label name="importe_label" id="importe_label" />
<input type="hidden" id="importe" name="importe" value=""/>
Then, for example, I set both of them with jQuery:
$("#importe_gravado").val(99.99);
$("#importe_gravado_label").text(99.99);
So, when I submit the form, I get the value I need in back-end (In the "importe" parameter, in this case).
I don't know if is this the best way, but It works! :)
Hope It helps anybody. Best regards!
I'm working on a Rails site, and I've got my database indexed with IndexTank. I have things set up so that to search, all I have to do is browse to [root]/search?q=[query]. To simplify things, I'm planning on just dropping a HTML form with a textbox and a submit button in amongst the erb, but I'm not quite sure how to pass the information from the text box to the end of the /search?q= line.
I'm sure that this is terribly basic, but I've been Googling all morning and I've come up empty-handed.
<form action="/search">
<label>Search term <input name="q"></label>
<input type="submit">
</form>
First off, you'll probably need to post some more code. That said, the solution is likely as simple as setting your form element's method attribute to GET.
I'm kinda new here and I've got a programming/coding related question you guys maybe could help me with. I'm currently playing this game on the net www.darker-future.nl which is sort of a site you got to hack/use IT knowledge to go up levels. I'm kinda stuck at this level which i obviously lack the knowledge of coding for?
Ive got this HTML source code in the page:
<form method='POST' action='**************.html'>
<input type=hidden name='40+b+c*d' value='2354'>
<input type=hidden name='a*30-c+d' value='8937'>
<input type=hidden name='a-b-20/d' value='3639'>
<input type=hidden name='a%b+c-10' value='3954'>
<input type=hidden name='a+b*c*d' value='9284'>
<input type=hidden name='a-b/c-d' value='6573'><!-- +0.5 -->
<input type=text name='a*b/c/d'><br>
<input type=submit>
</form>
I think i got to change the values from the hidden input boxes with the right answers or something. My question: How can I easily fake POST values?
PS. Any tips on maybe things i've forgot to think about in this level please share.
If you're using Firefox, get Firebug, open the HTML panel, and edit the value attribute. Simple.
Are you sure it wants you to change the POST values "in flight" as it were.
Surely you need to find the values of a, b, c and d based on the 6 equations it gives you (simultaneous equations), and put the resulting values into the seventh expression to generate a value.
Then enter this value into the text box and click submit.
Yes get the firebug extension for Firefox. After it's installed click the little bug icon in the bottom left corner. You can edit the HTML in the firebug window to change the values.
A more long winded solution would be to write some code to generate an HTTP Post request in the correct format.
Can someone teach me or give me a link for my problem?
I wanted to customize my form "file" --> for uploading.
How can I customize it?
.classfile {
css codes....
}
<input type="file" name="name" class="classfile" />
If I do that way the text box and button of form will be affected. What is the other way to customize that?
You can't style a
<input type="file">
Just with CSS. Take a look here for a great trick : http://www.quirksmode.org/dom/inputfile.html
The short answer: You can't and you shouldn't. This is done purposely, to stop tricking people with this security/privacy critical element.