Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
3
votes2
answers47
viewsSet limit, css animations
I came across this problem that is affecting my CSS structure. I have such animation on my website http://jsfiddle.net/9bdqe2nq/ But I need it to stay inside the black bar, which is that surplus…
-
3
votes4
answers420
viewsCSS, firefox input shows blank text
In firefox my input text does not appear, what reason? see http://jsfiddle.net/m8j873y8/ input { width: 100%; height: 35px; margin-bottom: 10px; color: #595959; padding-top: 17px; padding-right:…
-
3
votes1
answer3473
viewsText translation algorithm
I’m a beginner in JS I’ve studied up to the part of loops, then I stopped to review everything I saw and do some exercises. I made an algorithm that translates to English, Spanish and Portuguese a…
-
3
votes2
answers4798
viewscreation of tables with margins between them
I want to create a special table but with spacing between each rectangle. What I’ve created is: <table border="1" margin="2"> <tr> <td>Célula 1</td> <td>Célula…
-
3
votes1
answer1251
views -
3
votes1
answer1087
viewsPhotos in different Ivs using instafeed.js
I’m using the instafeed.js API. I wanted instead of all photos appearing in the same div to appear one per div. I tried to use this example but it didn’t work: example instafeed.js on multiple Ivs,…
-
3
votes3
answers1481
viewsHow to not show img element where src is equal to null
I’m making a system where the user can post images, texts, etc...but in the system every image posted should be uploaded to the server and the user can delete them. With the exclusion of the server…
-
3
votes1
answer147
viewsHow do I populate an array with the database entries?
I have a box that shows the records that will be entered in the database. But I would like to make a change to those data that have been entered. So I wanted to know how to make the records that are…
-
3
votes1
answer1641
viewswidth 100% bootstrap responsive
I’m using the bootstrap for its fluid grid, I used the row-fluid outside the container-fluid for it to be without the usual margin. In the desktop resolution the footer is normal with width 100%,…
-
3
votes1
answer13146
viewsHow to put 2 inputs side by side?
How can I put 2 input aligned side by side? <li> <input type="text" /><input type="checkbox" /> </li>…
-
3
votes3
answers194
viewsWhy use float:left and display:inline at the same time?
I’m watching a tutorial, where the teacher at a certain moment, minute 28, establishes the style of the elements of a ul to create a horizontal navigation bar, and do it using be the float:left that…
-
3
votes1
answer103
viewsPossible bug input number in firefox
I was developing a calculation where I used a number field and a text field, where in the number field the user would inform the amount of an item and the text field would give the value of the…
-
3
votes1
answer1042
viewsChange background according to image
I’m needing to create an effect on my slideshow that for each image, the background of div color change according to the predominant color of the same. I searched the internet for a plugin that does…
-
3
votes2
answers2268
viewsChange iframe height with external src depending on content height
I have an iframe where src points to an external domain After the content is loaded, a part is hidden because the iframe does not fit the content. Since iframe has an external src, I cannot…
-
3
votes0
answers51
viewsChange CSS element depending on the SELECT option using jQuery
I’m having a hard time making a certain interactivity on my site. For example, there is a select in HTML with 3 options, and when the user selects certain option, there would be a change in the CSS…
-
3
votes2
answers202
viewsView . HTML with Vraptor. Is it possible?
I am a student of Analysis and development of systems and I love programming, I studied the basics of Java and I am searching frameworks just to get a sense. How do I return an HTML page in a…
-
3
votes1
answer2956
viewsIs web tax printer possible?
I am implementing a system for issuing a invoice with tax printer in C#, but I would like to know if it is possible via the web using Javascript HTML, CSS etc. How would I do that? Through what…
-
3
votes2
answers582
viewsAppear div to close only after clicking iframe
It is possible to have a div with a iframe and only after the user has clicked on one of the links within the iframe, would appear a div to say fechar and when the user clicked there, closed the div…
-
3
votes3
answers1015
viewsHow to Set Different "Row" Sizes in Bootstrap 3
I’m wondering how to set a value of 100% width (filling the whole screen, independent of the container) only for a bootstrap "Row", is it necessary to create a new css class for that Row in…
-
3
votes2
answers1016
views -
3
votes1
answer2029
viewsImplement navigation with buttons: [first] [next] [previous] [last]
Explanation: I have an HTML+jQuery table and I have an enumerated pagination that is functional, but I would like to add an additional navigation to it. Question: I would like to add an…
-
3
votes2
answers804
viewsHow to block all "radios" of a form when clicking a button?
I made a quiz with a few questions and answers, I would like someone to help me solve the following problem, I want to click on the button to see the result of the quiz, all response options are…
-
3
votes2
answers8009
viewsSet JS variable in input value HTML
I have several inputs in an HTML, where the Ids are correct. I want to search the value of these inputs with these Javascript variables, but only the nome takes the variable value! The rest of the…
-
3
votes2
answers223
viewsWorking with Iframe
How to run the tag: <iframe src="http://localhost.com/web-p/index2.aspx"></iframe> Waiting for iframe execution to complete page loading to proceed with other things. Example: function…
-
3
votes2
answers3812
viewsSend form data via GET to server (without updating page)
I have this form and would like to give a GET for variables with their value when clicking the button, without refreshing the page because I have other forms on the same page, it is possible with…
-
3
votes2
answers262
viewsTag header, daughter of tag Section, inherits values from other tag header
I have this HTML structure: <body> <header> </header> <div class="limit"> <section class="conteudo"> <header> <h1>TESTE</h1> <h3></h3>…
-
3
votes4
answers22158
viewsHow to add row spacing to a table?
I need to draw a table with the following feature: That each row has a margin-bottom of 8px. The red highlight is the distance between the lines. The question is to be able to add only where I wish.…
-
3
votes0
answers806
viewsHow to separate PHP code from HTML?
Good night, And the next one I’m developing a big project and I’m almost done but now I’ve seen the need to separate the code for reasons of structure organization and greater performance because…
-
3
votes3
answers19969
viewsTake the value of select
My Select is like this: <select class="input-medium ajuste" id="sel_mes"> <option value="09/03/2014">Março - 2014</option> <option value="09/04/2014">Abril -…
-
3
votes1
answer827
viewsButton/function to add inputs dynamically by deleting values from previously added inputs
I made a form where a button calls the function "addproduct()" in this function I create 1 div and 2 textbox that are placed in the same div, and then add the div to a span at the end of the page.…
-
3
votes1
answer918
viewsHow to set var JS value for html field?
I have the following code that: When a field enters Focus it calls a function to check which field is in phocus to change the value of a variable in a tooltip! Example: //Aqui quando o campo entra…
-
3
votes2
answers2689
viewsAlign text in the vertical center of a circle
How do I get the text inside the circle to be aligned in the vertical center as well? CSS .circle{ position: absolute; background: red; border-radius: 52px; width: 37px; right: 308px; height: 37px;…
-
3
votes1
answer141
views -
3
votes1
answer218
viewsDifference between Contents() and html() methods
I needed to get the contents of a iframe (which was in the same domain on the same page) with html(), but to no avail. Then I saw that there was a method called contents(), and worked out using it.…
-
3
votes2
answers3236
viewsHow to overcome Xmlhttprequest cannot load?
This error appears to me. How to overcome it? Xmlhttprequest cannot load "example url". No 'Access-Control-Allow-Origin' header is present on the requested Resource. Origin 'null' is therefore not…
-
3
votes3
answers325
viewsCreate select using "for" cycle
I’ve tested it in many ways, and I can’t create one <select/> with a for in PHP. The doubt is simple, I have a for that goes from 1 until 48, and I need to return these 48 numbers on one…
-
3
votes1
answer252
viewsContact form does not work
I’m having the following problems in the form I’ve assembled: The form is not sent to the email. After clicking on Ubmit, pressing to reload the page gives the conflict of "Confirm the resubmit of…
-
3
votes1
answer390
viewsCSS - Leave a minimum distance (height) between two 'Fixed' elements
Need to leave a minimum distance between two fixed position elements (the top and the footer). The problem occurs when applying zoom-in on the page, the two elements practically meet, and the goal…
-
3
votes1
answer552
viewsPHP Mysqli Array in select html
I’m a beginner in php and I’m developing a small system for my company and that already serves as a study, because I like this area, doubt is simple, I have the code below: <?php…
-
3
votes1
answer573
viewsHow to dynamically update a listing
I have a table where I list the amount of items in an order. And in each row I have a number of 01 to 15 sequential where identifies the amount of items. The problem is that when I delete an item,…
-
3
votes1
answer4831
viewsShow and hide form fields of the radio type
I have a form with two inputs of the kind radio, one with physical and other legal value. When one is selected, the fields to be filled are different from the other (mainly in PJ), so I would like…
-
3
votes1
answer77
viewsJquery - error accessing array
I need to compare two arrays, one with calendar days and the other with registered days. When the registered day corresponds to the property value innerHTML of the array of div he must paint the…
-
3
votes2
answers2115
viewsCSS for different browsers
I’m riding a label + input text personalized. The problem is that each browser interprets the code differently. My final intention is to get the border-bottom appears to be a single line. Chrome and…
-
3
votes1
answer302
views"Run/Fly" Image by Site
How do I make a "Fly" or "Run" image by myself through my website? I’d like to put on my website a kind of "Puzzle", a Mystery. I will want to put a link in the Image. It has to be a little quick to…
-
3
votes2
answers8493
viewsHow to add value to variable in jQuery?
I have a variable x that is written on the screen with initial value 0; I want every click on a button (be input or button same) in HTML file, the value of this variable is added 1; When added, I…
-
3
votes1
answer325
viewsOverflow-x Hidden no body
I added Overflow-x: Hidden on body but it’s not working. overflow Hidden disables scroll, or just hides bar? html, body{ overflow-x: hidden; -webkit-overflow-x: hidden; } /* tentei das duas formas…
-
3
votes2
answers782
viewsInserting HTML blocks into HTML document using PHP
I have an HTML interface that should render the query results in the database (PHP+PDO(MYSQL)) how do I inject the results dynamically into the HTML (pure) screen? as queries vary from user to user…
-
3
votes1
answer222
viewsWhat is the best practice to restrict access to the website’s administration system?
I wanted to create an administration system for the site, I did so so that users have associated with you a level field and if this is a given value they can access administrator control, otherwise…
-
3
votes2
answers818
viewsModal Boostrap reduces site body size
Man modal is decreasing the size of the page horizontally when opened, when closing it goes back to normal, it is something that is strange. Here the code: <div class="row" align="right">…
-
3
votes2
answers4590
viewsAdd a line<tr> before another line that has an ID
I need to add a row at a specific table position, using Javascript. Example: <table> <tr><td>Teste</td></tr> <!-- Inserir linha aqui! --> <tr id="id_2">…