Questions tagged as 'css'

2
answers

Divide the width of the screen into two containers

I have two divs, one is a sidebar and the other a container. I want to divide the entire width in these two (.sidebar 20%, .container 80%), but I do not know what is failing because they do not occupy the width at 100%. I'm using the Simple...
asked by 04.01.2019 / 17:24
3
answers

Change border-radious from Javascript

Good, as you can see if you execute the program, it is a text in which we can basically modify the color, text, etc. However, adding border radious and putting space between words does not work. It may be that the CSS reference in JS is wrong, s...
asked by 08.08.2017 / 20:29
2
answers

How to center horizontally and spaced several elements within a div?

I have within a <div> several elements <span> , <button> and <img> aligned horizontally. I need them to be centered vertically. They must be between them horizontally aligned and spaced occup...
asked by 29.08.2018 / 13:32
2
answers

Align elements vertically

What I want is that the input on the right side is not one more to the left or to the right than others. I do not care if it is necessary to use css or if it is simply a div tag. <div name="dinero"> <div name="monedas">...
asked by 02.01.2019 / 17:32
1
answer

My Calendar is covered by the top bar

I have the following design and as you can see the calendar of DatePicker it covers the bar that I have at the top. Calendar function code $(document).ready(function(){ var date_input=$('input[name="date_inicio"]'); //our date...
asked by 09.07.2018 / 21:20
1
answer

Transparency in the background but not in the text

This is my code: .a { /*BOTONES NORMALES*/ color: black; background-color: white; font-size: 150%; font-family: Oswald; opacity: 0.3; filter: alpha(opacity=30); } <a class="btn a" href="menu">MENU</a>...
asked by 03.08.2018 / 21:43
2
answers

Hover does not work on button

I'm making a web page. I have entered a dropdown-button , but it gives me problems. In the menu, if you put the mouse over a button, it becomes light blue, but in the Multimedia button ( dropdown-button ), the hover does not w...
asked by 10.11.2016 / 11:48
1
answer

How to select several elements whose ID contains a word

Hello with javascript I'm doing a function where I want to hide several elements, the problem is that if I use getElementById I can only select a single element, and I would like to hide several that have a similar ID; example, 'checkbox1', 'che...
asked by 27.04.2018 / 17:33
4
answers

Loses the css after refreshing datatable

I have a datatable in which in a column there is a select2 , this select2 I have assigned a color according to the selected value, for it to bring me the data of that column I call a function that checks according to the id o...
asked by 22.12.2017 / 13:41
1
answer

"Element style not allowed as a child of element body in this context"

I am learning web development and I am validating my code in the NU HTML checker, but it throws me this error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)...
asked by 20.12.2017 / 19:49