Questions tagged as 'div'

0
answers

Is there anything that takes the CSS path? [closed]

I need something that will cause me to reference the path of CSS faster, like a feature in Google's inspection, because it's tricky to find out hundreds of% of divs sequences within divs . Type something to give me the ready p...
asked by 14.09.2016 / 02:44
4
answers

Difference between span img and div img

I've seen in some source code: <span> <img="../imagens/1.jpg"></span> and in others: <div> <img="../imagens/1.jpg"></div> Is this wrong? I always thought <span> was used exclusively for...
asked by 15.01.2015 / 18:24
1
answer

Scroll in div if necessary

I have the following div on my page html <div id="divContent" class='content'> Bem vindo ao meu site <br /> 1 index index index index index index index index <br /> 2 index index i...
asked by 19.01.2016 / 13:15
1
answer

How to create an empty block?

How do I create a BLANK + TRANSPARENT block of 800px height per 1000px width? And why the code below does not work for this? html <div class="block"></div> css .block { height: 800px; width: 1000px; } With this, I'...
asked by 15.06.2014 / 23:12
1
answer

Create divs dynamically

Sirs, I'm working with tabs in Jquery. I have a page called server_server.php where I insert it into the database of as many servers as I want. I need that after clicking the next button the amount of page flaps is the same as the amount of r...
asked by 23.02.2016 / 18:11
2
answers

When to use div + selector in CSS

When I'm developing a front-end for a website, I put the name of the selector directly, for example .seletor1 , .seletor2 , and so on. I recently had to work on the classes of a plugin I downloaded, and I saw that it contained:...
asked by 25.06.2014 / 14:04
1
answer

How to update a DIV with Ajax / JS? [duplicate]

I'm developing a page, however I'm completely lay in the matter of JS ... The site has the div with the ID #content, and inside it a refresh button. How can I do when someone clicks it to refresh only the div, not the entire page? I'm cu...
asked by 20.09.2016 / 12:56
3
answers

Is there a way to make a child div float by scrolling the scroll of the parent div?

I have a div primary, and within this, another div (secondary). I'm trying to position the div pendent% in the primary div so that it becomes a floating DIV (popup style) that overlaps the other elements. But for this...
asked by 04.04.2017 / 05:57
1
answer

Getting information from a div in C #

Well, I have a code that reads the page however I need the following: <a href="/t848p15-teste">2</a> The idea of the code is to look for a <a> tag that has this 2 and return the link. In case, it would return...
asked by 18.07.2016 / 22:35
2
answers

help here div and html functions

I have this code, when I hover over the div it moves, but I wanted it to happen when I hit the button: <head> <style> .square{width:100px ;height:100px ;background:red ;transition: all 2s;} .square:hover{background:blue;-web...
asked by 04.11.2017 / 01:02