Questions tagged as 'css'

3
answers

How to put border on link without increasing menu size

I have a menu, and wanted to place the mouse over the link had a border, I managed to put it, but the problem is that it increases the size of the menu when the border appears, how to avoid this? Current Code: .main-nav-outer{...
asked by 22.02.2018 / 13:13
2
answers

what's the difference in using #minha_div or div # minha_div

I would like to know if there is any difference at the time of the stylization of a page using div#minha_div or #minha_div , and another difference if it influences to put the whole path of the div that will be stylized for example...
asked by 29.04.2018 / 21:40
2
answers

When selecting an option, the color of the selected option is marked

I have the following select that is coming from the database as shown below: <?php...while($listar=mysqli_fetch_object($sql)){$mostrar.=" <select name='Situacao[]' class='md-form-control'> <option value=''>Se...
asked by 11.05.2018 / 11:51
3
answers

Why use float: left and display: inline at the same time?

I'm watching a tutorial, where the teacher at a certain point, minute 28 , sets the style of the elements of a ul to create a horizontal navigation bar , and do so using either float:left or display:inline . The problem is...
asked by 11.10.2014 / 15:07
1
answer

Ordered list with next element to the right when it does not fit

I am creating a menu where I will have several buttons. To align the buttons I use a simple ordered list. I want to know if there is any way that, when no more buttons fit within the maximum height of the submenu, they will jump to the right.  ...
asked by 16.10.2014 / 14:23
2
answers

Customize css link as url

I've seen somewhere that has a way to apply a particular css to a " a " if you have a particular text in the link, but I can not find it anymore. For example, I have the following links in my html <a href="http://site.com.br/nothing">L...
asked by 18.11.2015 / 13:05
2
answers

Navigability problem using Button in Bootstrap

I created a JSF project and I'm using Bootstrap, and I'm trying to implement buttons in my project and I'm not able to put navigability in them, see below; so it works; <li ><a href="/Terezinha.Bandeira" >Inicio</a></li...
asked by 18.09.2015 / 13:31
3
answers

Select with color palettes

How do I make a select with color palettes inside, I need to select certain colors, but not by name, but by palettes that will identify each color, see an example Does anyone know how, a tutorial or where to start? Thanks!     
asked by 26.03.2017 / 16:50
1
answer

Why do selectors with prefixes in the same rule do not work?

For example if I do this to leave the element that is in fullscreen with height and width equal to 100% it does not work: :fullscreen, :full-screen, :-webkit-full-screen, :-moz-full-screen, :-ms-fullscreen { width: 100% !important; hei...
asked by 19.03.2017 / 20:37
2
answers

Multi-level in an OL

I'm trying to get the following result:    Introduction       1.1. Content       1.2. Programming       1.2.1. JAVA       1.2.2. DOTNET    Conclusion       2.1. Thanks       2.1.1 Family       2.1.2. Teachers    End    Usi...
asked by 05.09.2014 / 15:34