Questions tagged as 'div'

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
1
answer

fit container image to trim it

How can I make the image occupy the entire container? My idea is to be as shown in the photo. Being the red frame the image and the black frame rounded the container of images #article{ background-color: rgb(126,230,222, 0);...
asked by 09.11.2017 / 18:22
1
answer

execCommand with several contenteditable divs

I have a page with 3 div in contenteditable: <div class="herra"> <div title="Negreta"><b style="font-size: 2em;">N</b></div <div title="Cursiva"><i style="font-size: 2em;">K</i></div...
asked by 01.09.2017 / 13:26
3
answers

Total cleaning of div tag

Good afternoon everyone, I'm working with highcharts graphics, everything works fine, but I have a problem. I'm using Ajax to create all the charts, however the "standing" chart has certain "little mistakes" that do not let me make it so dynamic...
asked by 19.07.2016 / 00:37
2
answers

Print div with styles in JS

Good afternoon friends of the community, today I come with a question that I hope you can help me solve, it turns out that I want to print a div with JS but when sending the parameters in the function the styles do not respect them and the file...
asked by 17.05.2018 / 22:32
2
answers

Slider in javascript does not load me when migrating web hosting

This small and basic slider worked well until migrating to a new hosting no longer runs javascript and loads all the images without making the slider: <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js' type='text/ja...
asked by 15.10.2018 / 14:00
1
answer

Problem with u-select placeholder

Apparently when I place a ui-select within many elements, the placeholder of this element gets a width: 10px (I do not know why), which is a problem because apart from seeing that element badly, it can only be selected giving clicking just where...
asked by 30.03.2018 / 02:16
1
answer

Show div while hiding others (jquery)

I want to show some elements by doing click in a botón , but I want that if you are already showing one element and I give click in another botón hide the previous element and show the new one. I did something like...
asked by 14.08.2018 / 18:00