Questions tagged as 'html'

4
answers

Adjust css html table

I'm working on a table from HTML and CSS, what I needed was for the header to be fixed which is already there but the body can not adjust it to the size of the header of the table. This is what I have: load/* main elements */ tr:nt...
asked by 02.01.2018 / 05:57
4
answers

Problem css height 100%

Why do not I get to fill the whole screen if I have the height in the body,html and the content? I pass the code: #secundario { width: 200px; padding: 5px; background: #ffff55; border: 1px solid #555555; f...
asked by 13.12.2017 / 10:59
1
answer

Problems redirecting and validating form in javascript

good! I'm pretty new with javascript and I'm having a serious problem validating and redirecting the input. This is my html code: <div class="grid-container"> <a href="index.html" class="back"><span></span> <...
asked by 24.11.2017 / 06:01
1
answer

Get MySQL query data to print in HTML

I have a HTML form where I want to show a series of data obtained from a query in MySQL using SQL. Query: static public function obtenerAccesoriosPorCabana($idcabana){ $ejecucion = self::Conexion(); $sql = "SELECT...
asked by 12.12.2017 / 11:16
1
answer

Error loading data with AJAX

Every time I give the button to load the AJAX, I load the start screen with everything (header, menu and footer) apart from not loading the data from the table I request. I get this error in the console: [Deprecation] Synchronous XMLHttpRequest...
asked by 18.11.2017 / 19:47
2
answers

How to make a scroll on the same page when selecting a Radio Button option?

I need that when a radio button is selected, lower the screen automatically. I have this HTML code: <label><input type="radio" name="radio" value="1" id="boton1" class="ancla" data-ancla="scroll" /></label> <label>&...
asked by 17.11.2017 / 23:06
1
answer

Field input text stands out from the div

I have a field called description , which takes the description of the database, and the size of the input text box is equal to the value of the length of the text string of the value obtained in description . I explain: if the string I p...
asked by 09.01.2018 / 11:11
1
answer

Style HTML CSS buttons

I automatically get the buttons one below the other by dividing them into 3 divs. Each button has its own div and in turn all divs are in a div called > buttons . How can I distribute the three buttons in a centered X width? W...
asked by 07.01.2018 / 00:48
1
answer

Center the DIV but not the elements

I want to center the DIV in the middle of the page , which I do, but I do not want to center ALL the elements. I want the elements to have a vertical alignment (name, description, price). Only Name and Image are at the same level, others a...
asked by 07.01.2018 / 10:06
2
answers

Pass a String obtained from a database to the src of an image

I would like to know if there is any way to pass a data String obtained from a database to reference an image, here the example: <div class="row"> <div class="col-md-7"> <a href="#"> <i...
asked by 01.12.2017 / 07:25