Questions tagged as 'div'

1
answer

Make DIV occupy remainder of the page with CSS

Good people, I have a div#x that varies its width between 70px ~ 220px . I need a second div#y , which is by your side to occupy the rest of the page space. With jQuery it would be something like: $('#y).width() =...
asked by 18.12.2014 / 01:54
2
answers

Problems with special characters in ASP.NET GRIDVIEW

I'm building a dynamic GRIDVIEW, where the information for each TD will be a DIV. exemplo: <td><div id="d1" class="redips-drag t1">z</div></td> I'm filling in the variant as follows: if (dtWorkServiceTimeByWorkerAn...
asked by 20.08.2015 / 13:06
1
answer

Change image size and box with%, not working

I have a layout, where I have a div with an image, and a class with a box above that image, the same size of that image, and I apply a transition on top of this box to reveal it when I position the mouse over it, and a link...
asked by 13.02.2015 / 19:17
3
answers

Change scrollbar placement in a div

By default, in a horizontal menu the content is read from left to right, as in this image: However,Iwouldlikethatwhenthecontentloads,thescrollbaris,say,automaticallymovedtotheright,asinthisimage: Is this possible?     
asked by 17.10.2018 / 19:05
4
answers

Doubt with height in a DIV

I have a problem, which seems very simple and I've done it before, but I just can not remember how! Assuming a page with 3 divs (header, content, and footer) how do I make the content div occupy all free space on the page? Ex: <div id...
asked by 11.01.2016 / 17:46
5
answers

Make div disappear

I have a code that only works if I keep a <div id="panel"> , but I do not want it to appear on the screen. Can you keep this div, but leave it invisible?     
asked by 12.08.2015 / 15:54
1
answer

Show DIV according to condition in PHP

I have a div that brings a select of the bank, but it can only be shown if it meets a condition. It comes like this: <div id="conteudo" style="display: none;"> If it meets this condition: if (get('data_do_descredenci...
asked by 01.08.2016 / 18:19
1
answer

How do you position a moving div to be automatically saved?

I've developed a widget for my project and now I need it to be saved when I move it. Example: Initial position of widget 80px x 120px , after move it, initial position of widget 210px x 300px . I hope my doubt is...
asked by 04.12.2015 / 21:16
2
answers

Change place div with jquery

Let's say I have a div mother, and within that div I have other 3. And a Button. <div id="mae"> <div id="a" class="child"></div> <div id="b" class="child"></div> <div id="c" class="chi...
asked by 04.09.2015 / 01:46
1
answer

How to put Scroll to table inside div with width 100%?

The example shows a div with horizontal scroll, but I would like the table along with the div that has scroll to adjust 100% to the size of the screen. .div { border: solid; display: inline-block; width: 300px; overflow: auto;...
asked by 30.07.2016 / 22:40