Questions tagged as 'div'

2
answers

Return divs to starting position

At this point, the drag3 always returns the initial position, except when it is placed in drop1 . In the complete game there are 4 drag's and 4 drop's but just 1 of each for the example and to give an understanding how I have this,...
asked by 14.04.2015 / 12:39
0
answers

Update form and div data from the same page by clicking a button

I have a page that has a form and an image. This form consists of 3 buttons that access "tips", a field for response, and button for     "Check Answer" and "Next Question", and a "Score" field. Well, clicking on the tips it shows correctly, a...
asked by 09.05.2015 / 07:10
3
answers

Refresh DIV without giving refresh on page JQUERY

Good afternoon Hi, I have an Ajax application that I am trying to use. I have a PHP file which I am trying to use. In the case I would like to update only the div and nothing else is just to run the foreach again that will get the data of the se...
asked by 24.06.2016 / 19:41
2
answers

Script open only after specified time

I have a script, however it opens as soon as it is loaded. I would like to have it run after 10 seconds and open along with my div, it looks like this: <div id="mame"> CONTEUDO </div> <script> var div = document.getEl...
asked by 06.03.2016 / 22:36
4
answers

How to get height of a div by jQuery?

I have a small jQuery script for loading the page, a calculation based on the height of a div is added, and then a margin is added for the result. The problem is that you are not getting the height value of this div . In case, th...
asked by 01.10.2014 / 16:02
4
answers

How to organize many divs in Bootstrap (Image)

How do I organize many col-xx-3 divs of different heights ? Is there any class or some other method without using row (every 4 products)? Any way does not need to change Select or PHP ? I have tried in many ways but I have not be...
asked by 19.04.2016 / 16:31
2
answers

How to Create conditional in a DIV to change content

I'm trying to make a conditional to display content within a div . My site has CSS adjustable per browser type, but this only changes the display size! I need to change the content of a given div for each type of browser...
asked by 21.08.2015 / 16:23
2
answers

Align DIVS in CENTER

I'm working with bootstrap + codeigniter and I can not align the products in the center of a div. I would like the blue items in the center to be centered aligned. HTML/PHP<divclass="col-md-3 col-sm-12 col-centered portfolio-item <?php...
asked by 30.06.2016 / 19:32
1
answer

How do I keep the div size independent of the text size?

I have a div that represents a square in which it is intended to display a text for the user, see: html, body { background-color: #323232; } html { font-family: 'helvetica neue', 'arial', sans-serif; font-size: 24px;...
asked by 26.01.2018 / 20:22
1
answer

How do I create a mouse-over effect on an image and position it where I want it?

I'm trying to replicate an effect of mouse over but what I've achieved so far is a bit biased, the line with the effect is passing from one side to the other, and not just the length of the text, which is what I want , I do not know how t...
asked by 02.02.2018 / 03:13