Questions tagged as 'css'

3
answers

CSS: Keep the style when making a display: inline-block

I have a table in which I can drag rows doing drag and drop. To break some words I use the word-wrap:break-word; and the display:inline-block to work on browsers like Chrome. The style, when dragging a row which has the appli...
asked by 20.09.2017 / 13:26
3
answers

Rounded style table html

Greetings I want to obtain a format like the following: Update The result I get is the following: my code: <style> .clase_table { border-collapse: separate; border-spacing: 10; bo...
asked by 21.12.2018 / 20:05
2
answers

Delete and add Class to List with Jquery

Greetings. I have made a small list, which I want to add a type effect: focus of selection with a background, I give it through a class is-active . the purpose is that when you press another element, delete the class from the one that h...
asked by 25.05.2018 / 17:46
1
answer

why do variables and other problems not work in this code?

I need to make this calculator work but I do not know what's wrong: var operandoa; var operandob; var operacion; function init() { //variable var resultado = document.getElementById('resultado'); var reset = document.getEle...
asked by 19.12.2017 / 01:15
1
answer

Change the color of a box in the hover state of a snip1281 CSS

I'm making a model and I'm using snip1281 that have an effect on the hover, each image or race has a hover effect of a top line with color and a box with the same color on a white text, but all the races have a different color that each box in i...
asked by 06.07.2018 / 18:11
2
answers

Remove all the blanks of an HTML element

I have tags which as text have links to websites, that is, something like this. <a href="http://www.asdfasdfasdfasdfasdfasdfasdf.com/asdfassdfasdf....">http://www.asdfasdfasdfasdfasdfasdfasdf.com/asdfassdfasdf....</a> The proble...
asked by 03.08.2018 / 12:10
3
answers

Styles of media queries

I have a problem with media queries, I'll explain: Imagine a div that I have for pc with these styles: div{ color: red; widht: 100%; height: 200px; } And the same for mobile with these: div{ widht: 100%; height: 200px; } The div for...
asked by 11.07.2018 / 23:12
2
answers

CSS problem at different height two buttons

I have two buttons at different heights, why is that? The buttons are called: back and pay. I show you the HTML and CSS code. <?php <!DOCTYPE html> <html lang="es"> <head> <meta http-equiv="Content-Typ...
asked by 01.01.2018 / 18:18
2
answers

Link does not work because it is inside two pseudoclasses with content: ''

I have a div that has both a before and an after with content: '' to be able to animate the edge of this. But I find that by putting a link, this does not work. There goes what I have done: .inner-block { overflow: hidden; position...
asked by 18.01.2018 / 10:50
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 / 07:13