Questions tagged as 'div'

2
answers

Hiding a div while showing another

I have a problem hiding a div when I show another. If I use .conteudo_ up instead of id2 I can do this effect, but it does for everyone at the same time and I want for each one individually. How do I do this? link HTML...
asked by 06.06.2016 / 10:36
2
answers

Refresh Div HTML PHP Javascript

I'm having some problems updating a div without updating the entire page. Here is the code: <div class="main" align="justify"> <div id="mensagens"> <?php echo file_get_contents('arquivo.txt'); ?> </div&...
asked by 19.11.2015 / 22:33
2
answers

Compare attribute id with class and give .show in another div

I'm making a map of Brazil as svg, I need it when I click on a particular state it gives a show on a different div that will get information about that state. I need to compile the id of the path with the div class and display .show Follow...
asked by 27.03.2015 / 18:49
2
answers

Animation in the display change in HTML

Hello my dear programmers friends of our Brazil! I need your help on the following question:  I have a button that when pressed changes the display from one div to one block. So: CSS #form-pergunta { display: none; } JavaScript f...
asked by 21.07.2016 / 18:55
1
answer

Make a DIV appear only at a certain time

For example, I have a certain div, but I want it to appear only from 6 p.m. to 00 p.m. every day, but I have no idea how to do it. <div class="conteudo"> <h1>aqui vai o conteudo da div</h1> </div> I want...
asked by 30.03.2018 / 00:21
5
answers

Get content from within a Div and put in the value of Input

I have a form, and inside it I have an input, which will have to get what it contains inside a DIV, which in this case is just text. The input looks like this: <input class='formContato' type='text' name='orcamentoAssuntoForm' id='orcame...
asked by 14.07.2014 / 14:39
1
answer

How to use two css files in an html

How can I use two CSS files in an HTML file, but one of the CSS files is only used in div . I have a CSS file to style the page, but I needed another CSS file to be able to style a div in the middle of the page. Because I'm te...
asked by 26.11.2015 / 18:37
2
answers

Align height 3 divs in one row - bootstrap

I have 3 divs in a row, but some have different heights depending on the content of the div. How to standardize the height of the div. (I do not want to set height, but rather they are the same height.) My html: <div class="row-servic...
asked by 03.10.2017 / 22:38
1
answer

Picture does not appear 100%

I'm trying to create a LandingPage but the first image is being cropped I'm using this CSS : .parte1 { min-height: 100%; max-height: 100%; padding-top: 50px; padding-bottom: 50px; text-align: center; col...
asked by 11.12.2016 / 15:05
1
answer

DIV does not open in browser CHROME and IE

I'm trying to solve a CSS problem in my development: HTML: I created a responsive DIV with 1 COLUMN (GRID of 6) for a specific content section. I already put text inside this one. CSS: I created a class to stylize this DIV #s...
asked by 24.03.2016 / 11:32