Questions tagged as 'div'

1
answer

How to duplicate display of HTML elements

I have 5 images, 3 of them have the same class being displayed in div A. <div id='A'> <img src="https://sites.google.com/site/mplayerplugin/thumbnails/09.jpg"class="figura" /> <img src="https://sites.google...
asked by 25.03.2017 / 11:48
1
answer

Can I disable a div using css?

So I created two divs within each other and my idea was this: I wanted to leave an inactive div, and when I left the mouse on one, the other one appears. The command I used for this is opacity: 0; to make it invisible and when I left the mous...
asked by 22.10.2016 / 14:41
2
answers

Problems while validating quiz response with javascript

I'm trying to create a simple quiz but I do not have much programming skills. The intention is that when the user dials a response and clicks the button, a div appears showing whether it is right or wrong. Initially, I did with a...
asked by 30.03.2016 / 16:21
3
answers

How to make certain words within an editable div be of a color?

I have a DIV that is editable by the user, but I wanted it when I typed Brasil it is only this green word tabem as EUA is red, but only certain words. DIV code: <div id="texto" contenteditable = "true" ></ div&...
asked by 04.03.2016 / 14:08
1
answer

Create divs based on database entries

Good morning, I am developing a website and I would like to create a new div for each entry the database presented in php. I need to make a page with the same principle as a blog, the last content presents first, but for this I need each content...
asked by 24.05.2016 / 12:29
1
answer

How to prevent a div from leaving the page, when another div resizes?

My page basically has two divs , one right and one left, the two are with style="position: fixed;" , that is, if I scroll the page, these two divs are side by side, fixed, always visible. But when the div of the left...
asked by 10.03.2016 / 06:26
1
answer

Add Players in script code

I have the following code: var buttons = $('#videoGallery .vid'); var liHeight = $('#videoGallery li').height(); buttons.click(function(){ var videoID = $(this).attr('data-videoID'); var videos = $('<div id="meuVideo"> <iframe width=...
asked by 16.12.2015 / 16:15
1
answer

Create divs with text and images

I have very basic knowledge in html and css, so I want to help you guys to build some points of the layout below using HTML and CSS. img deals with an image size of 100px per 100px. Note: The text A, B and F must have a space between the image...
asked by 23.02.2016 / 23:56
1
answer

How to capture value of a paragraph inside a div?

I ask your help to capture the value of a paragraph h4 that is within a specific div , and put in a text field of a form. It is to automate a group name / singer's response system to an online radio. This is div where is t...
asked by 04.01.2016 / 23:59
1
answer

I have a div that is not working [closed]

It has 2 Div with the parameter Container The problem is that the second is working and usually applying CSS , but the first one does not work. I've already moved the closure, but it did not help. Does anyone know what it is?...
asked by 06.12.2015 / 02:51