Questions tagged as 'html'

2
answers

How to center horizontally and spaced several elements within a div?

I have within a <div> several elements <span> , <button> and <img> aligned horizontally. I need them to be centered vertically. They must be between them horizontally aligned and spaced occup...
asked by 29.08.2018 / 13:32
1
answer

option element of a select selected by default

I have a select with a single fixed option disabled, the other options are added after an ajax query, I need to load the page to select the fixed option with the disable. <select id="desdeReserveInput" name="desde" class="form-control">...
asked by 28.11.2018 / 17:27
2
answers

Align elements vertically

What I want is that the input on the right side is not one more to the left or to the right than others. I do not care if it is necessary to use css or if it is simply a div tag. <div name="dinero"> <div name="monedas">...
asked by 02.01.2019 / 17:32
1
answer

Retrieve a hidden value in html

I have a hidden attribute, which I put through a java method: <input type="hidden" id="url" th:value="${url}" /> And I want to put an input of type text whose value will be the value that is in the hidden "url" <input type...
asked by 14.04.2016 / 12:12
1
answer

My Calendar is covered by the top bar

I have the following design and as you can see the calendar of DatePicker it covers the bar that I have at the top. Calendar function code $(document).ready(function(){ var date_input=$('input[name="date_inicio"]'); //our date...
asked by 09.07.2018 / 21:20
2
answers

How to position html elements with bootstrap

I have a page to add products to an invoice: You have a part to filter by name or code. Other part for sorting by category or price. Finally a edit not editable where the product name is put when clicking on one row, and that, along with...
asked by 11.07.2018 / 10:14
2
answers

How to assign a HotKey with JQuery to a button

This is the code of my button in HTML with CSS I would like to use JS to assign it instead of clicking for example a F7 or F8 or any combination of keys with jQuery . <div class="form-group"> <button type="submit" class="bt...
asked by 16.07.2018 / 23:30
1
answer

Transparency in the background but not in the text

This is my code: .a { /*BOTONES NORMALES*/ color: black; background-color: white; font-size: 150%; font-family: Oswald; opacity: 0.3; filter: alpha(opacity=30); } <a class="btn a" href="menu">MENU</a>...
asked by 03.08.2018 / 21:43
2
answers

Hover does not work on button

I'm making a web page. I have entered a dropdown-button , but it gives me problems. In the menu, if you put the mouse over a button, it becomes light blue, but in the Multimedia button ( dropdown-button ), the hover does not w...
asked by 10.11.2016 / 11:48
1
answer

How to select several elements whose ID contains a word

Hello with javascript I'm doing a function where I want to hide several elements, the problem is that if I use getElementById I can only select a single element, and I would like to hide several that have a similar ID; example, 'checkbox1', 'che...
asked by 27.04.2018 / 17:33