Questions tagged as 'css'

4
answers

Align text vertically in relation to an image

I have two sections of text on each side with an image in the middle, and I want to align the text sections vertically with the middle of the image how can I do it? <div class="fourth"> <div class="container"> <div class...
asked by 27.07.2018 / 19:23
2
answers

Progress bar plugin with steps

Does anyone know of any Javascript or CSS plugin that can generate this type of progress bar?     
asked by 01.11.2017 / 17:49
2
answers

How to align items with HTML and CSS?

I'm having trouble aligning items again. I would like them to align the 3 inputs on the same line with margin, however they go down. #contato { margin-top: 120px; } #contato form { width: 100% } #contato form input { wi...
asked by 03.07.2018 / 20:46
4
answers

Repetition of color zebra only that of 5 in 5

How to make this repeat loop to have 5 numbers of one color and 5 numbers of another color? var collection = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; var html=''; for (var i in collection) { var cor = (i % 5 == 0) ? 'red' : 'blu...
asked by 16.05.2018 / 17:29
4
answers

correct CSS Div li span

There is a part in my code that I am not able to change the css. <div class="AlterarCSS"> <ul> <li>Nome - <span>Endereço Site<span></li> <li>Nome - <span>Endereço Site<span></li>...
asked by 10.11.2017 / 12:57
3
answers

How to override some bootstrap attributes?

I took a menu from the internet that uses the bootstrap framework, when it is on a screen larger than 768px the menu color was initially light gray, I changed to dark gray, but when the screen is smaller than 768px, the menu turns gray Of course...
asked by 30.05.2017 / 18:22
2
answers

.on ('click') event, does not work in input containing date-md-icheck

Hello, in my function there is the .onClick event that should activate when checking checkbox , but when I use data-md-icheck it is ignored by the function. <input type="checkbox" data-md-icheck class="ts_checkbox"/>...
asked by 25.08.2016 / 19:25
3
answers

"content: attr" does not validate in W3C

How to resolve this error on the table td:before {content: attr(db); line that does not validate on W3C ? <!DOCTYPE html> <style type="text/css"> table {width:100%; border-collapse: collapse;} table tr {border: 1px solid #0...
asked by 24.02.2016 / 14:04
4
answers

Change background of a table

I need a help, I have a web page with two tables, a table has 5 divs with images inside it, images already predefined, clicking on any of these images change the background of the other table. How can I do this using PHP, HTML, and JS....
asked by 08.08.2017 / 15:35
1
answer

How to style, with CSS, a SELECT that is inside PHP?

<?php include "conexao.php"; $sql = "select * from categorias"; $dados = pg_query($sql); $resposta = ""; while($linha = pg_fetch_array($dados)){ $nome_categoria = $linha["nome_categoria"]; $resposta .= "&...
asked by 22.10.2014 / 01:57