Questions tagged as 'div'

3
answers

DIV Alignment Bootstrap [duplicate]

I used the code that @hugocsl pointed me to and aligned, but now it gets minuscule on the responsive. I used the min-width and it worked! .mapa img {     float: left;     border: 1px solid; } .mapa {     display: flex;     justify-content:...
asked by 25.06.2018 / 20:57
1
answer

Problem showing / hiding divs when uploading site

Hello, I'm using JQuery to show / hide the divs. When I open the local page the divs work normally (open and hide), but when uploading the page to the web (hosting), the divs no longer work. I already looked at the preview and is not showing any...
asked by 26.06.2018 / 15:37
1
answer

Event in a single div with equal classes. How to make?

Greetings. I created some div inside a foreach, all with the same class, inside this div has an element that I want, when clicked, show another div that is inside the created parent div. However, as expected, when I trigger such an event, all su...
asked by 25.04.2018 / 19:18
2
answers

Autofocus and Required in hidden fields by javascript

I have a field to select two other fields. When it shows the field situation hides the other div and vice versa, this is working perfectly. I would like to know how I can do to give an autofocus required when the selected field is visible, becau...
asked by 22.05.2018 / 23:07
1
answer

Right div alignment

I'm not able to align the div's right in my mpdf report. Below is the print of the report and the code. Belowthecode:</head><styletype='text/css'>.dados_principais{border:1pxsolidblack;border-top:1pxsolidblack;border-radius:0.5em...
asked by 08.05.2018 / 14:39
1
answer

setar scrol location

I have a div with overflow: auto; I want to leave the scrol of this div at the lowest point, to show only the newest information: div{ width: 150px; height:80px; border: 1px solid; padding:5px; overflow: auto; } <div> i...
asked by 13.02.2018 / 22:32
1
answer

Overlapping Divs

I have a search input, which adds the tbm mechanic, but the result is getting superimposed <div class="col-lg-4"> <label for="mecanico">Mecânico</label> <div class="input-group"> <input ty...
asked by 11.01.2018 / 22:58
1
answer

Scroll bar only in one div

I'm trying to create a table with only two rows. My intention is that the table be responsive and that the scroll bar only appear on the second line if the content exceeds height . In Chrome it works perfectly more in FireFox is not wo...
asked by 24.11.2017 / 20:24
1
answer

Div showing content by clicking button

With this question already I researched several codes here but none worked, I have a button in the center of the screen and when I click I want it to show a specific test that is in a div, but what I write in the div is on the home page and the...
asked by 17.07.2017 / 13:36
1
answer

Drag div to another div and resize when dropping!

Good evening, guys! basically what I'm trying to do is to drag a div (#mainmsg) into another div (#msgprivhere), but I need to resize it when I drop it. I just wonder if this is possible. I'm starting in the area of web development, and I'm very...
asked by 06.07.2016 / 04:28