Questions tagged as 'css'

1
answer

Problem with centering of h1 and nav

I need the h1 and the nav to be centered without spaces between them. <h1 align= center> <img src= Imagenes\header.jpg> </h1> </div> <span class="fuente-1"> <div class="inner"> <nav>...
asked by 13.06.2016 / 22:05
4
answers

Last-child does not work in css

I'm trying to do a background with last-child and I do not understand very well why it does not apply the style I want. I want the last div containing the child class to have background , how can I do it? SOMETHING IS...
asked by 26.10.2017 / 15:16
1
answer

Make the dropdown roll out when hovering (HOVER)

I would like to make the dropdown menu be displayed when I mouse over the top and not when I click. How could I do it? <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="s...
asked by 31.05.2018 / 14:47
3
answers

Dimension width "width" of option in a select tag

I have the following fragment of html code and what I intend is to limit the width of each one of the labels so that they are displayed in a whole screen and they are not cut, either through a line break or a horizontal scroll . <sele...
asked by 03.04.2018 / 10:23
6
answers

Adjust CSS text and container

Good afternoon, I had two queries that may be easy to solve. I have placed a gray box at the bottom of two images to show text. Actually at the end it will be a collection of 9 images, but I wanted to see the effect on two images first (at...
asked by 22.11.2017 / 13:50
2
answers

How to Align the content of a Placeholder within a TextArea?

Well my problem is that I have a <textarea> on my page and I use the attribute placeholder= to give the value of user such that: <textarea id="usuario_nick" placeholder="usuario"> The problem is that the t...
asked by 10.08.2017 / 22:39
2
answers

The pseudo-class: hover does not work

I am trying to place the effect: hover to these images, but it does not work, they are several images, then I gave a name to the class "effect" but I do not know why it does not work, I want to give it an opacity, below I show how I am doing....
asked by 19.08.2018 / 05:28
2
answers

Justify CSS text and enlarge space between characters

I request your help because I have an inconvenience because I need to use css , justify the text and in addition to this the text within the div must occupy all the content of div without leaving spaces in white, if it is possible t...
asked by 29.08.2018 / 00:12
1
answer

How to get Chrome to recognize font-family: Arial without sarifa? (serif)

I have tried in different ways to get my CSS: .texto--big{ font-size: 40px; font-style: arial; } .texto--small{ font-size: 25px; font-style: arial; } Return the Arial font, without serif, in the Google Chro...
asked by 25.09.2018 / 16:44
4
answers

know the number of divs that is out of other

I would like to know How can you get the amount of divs, in this case from the div_principal class, which are not included in the class div_global? In this case you should return value. <div class="div_global"> <div class="div_pri...
asked by 07.01.2016 / 00:33