Questions tagged as 'div'

5
answers

Hide the text of a div using CSS

Suppose I have the following div: <div class="contenido"> <img src="pepito.jpg"> Hombre </div> I need to hide the text "Man". How do I do it? With clear css this     
asked by 06.04.2018 / 00:11
4
answers

Center several divs

I am trying to center divs horizontally, (I do not understand why something so simple is so complicated ...) I have seen that the function cal (), theoretically does this, and if it does, but it centers us with respect to the screen, it simpl...
asked by 31.01.2018 / 10:54
3
answers

c ++ Problem when dividing 2/3

I need to multiply an X value by 2/3 (Two Thirds), for which I am using the following: #include<iostream> using namespace std; int main() { double var; var=2/3; cout<<var<<endl; return 0; } and to my sur...
asked by 26.10.2017 / 03:32
2
answers

Links and Divs in html

I'm making a page in html, and I'm trying to make a div index, click on a link, change the content of another div in which by default is a page with a title. <html> <head> <link rel="stylesheet" type="text/css" href="css/sty...
asked by 05.12.2016 / 11:29
3
answers

Create drop-down elements for html5 page

Good morning people, I need to create a help page where you enter a title and when you press the text is displayed. It would be something similar to the following image:     
asked by 01.07.2016 / 12:36
4
answers

Alignment buttons within a div

I have a div in which I have any "x" information, and in turn, there are two buttons. A botón to cancel a reservation and another botón to make a reservation. I want both buttons to be next to each other with a...
asked by 08.01.2018 / 18:16
1
answer

How to organize mosaic DIVs (with different heights)? [duplicate]

Help with organizing divs with float Post page with different heights, to present projects and news on a web page. example of the post list I try to make a grid where projects are shown in three columns, but sorted from left to righ...
asked by 04.02.2017 / 21:26
1
answer

Problem with Bootstrap form

I have 2 form fields that are 2 input text. One does as a prefix of the name and the other is the name. This is the look: What you need is to remove the space between the first input text (the disabled one) and the second one, since the...
asked by 07.12.2017 / 08:13
3
answers

How to vertically align a div - CSS

I would like to know what ways exist to align a div vertically, or any attribute such as section or article. I know the question is very general but I just started with CSS recently. Thanks.     
asked by 07.01.2017 / 22:25
3
answers

Put divs in HTML

I am trying to make a gallery with the folders that I have in a directory, and for that I use php to browse them. The fact is that I am very bad, fatal, the design, and what I want to do is that each folder has 200px width and 200px high, and as...
asked by 18.08.2018 / 18:33