Questions tagged as 'css'

4
answers

Margin on the right side of the page

I added 3 images and created a margin of blank space on the right side of the page, as shown in the following screenshots: Why does that happen and how can I solve it? I upload the code, although when running here it does not show...
asked by 07.08.2018 / 08:26
4
answers

Color the outline of a table

This is the CSS of my Table: #customers { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border-spacing: 0; width: 100%; } #customers td, #customers th { padding: 8px; text-align: center; } #customers tr:nth-...
asked by 30.08.2018 / 20:36
2
answers

PDF Generator Dompdf with css styles Bootstrap in Laravel 5.1

I have a problem with DomPDF and Bootstrap. I am using Laravel 5.1 as PHP framework and I added the DomPDF service. It worked very well with CSS styles created by me, but when I include the CSS styles of Bootstrap I get the following error:  ...
asked by 05.02.2016 / 15:24
2
answers

Does it really work to specify a margin and a padding to 0 initially?

I have seen that it is very common that as soon as you start the css, many files start with: *{ margin: 0; padding: 0; } Used in theory so that all elements have no padding or margin. Does this really work? Because I have had many t...
asked by 26.04.2018 / 09:28
2
answers

Change the opacity and styles of different divs when the mouse passed over

What I want to do is when I hover over the div with class "pilot tetsuta" go to be like background (that is, play with the opacity as I say in the title), and the div with class "about-tetsuta" becomes visible, occupying a...
asked by 30.08.2017 / 14:19
2
answers

Display tables on a grid

How about friends I have a restaurant system that I currently have working but I want to improve it in the aspect of placing the tables in a graphical way and not in the form of a list, since I currently display the tables in a list by means of...
asked by 23.10.2018 / 18:49
2
answers

Problem with grid-gap and fr

I'm in a somewhat silly problem, I have two section grid , which the first one has 4 div with the property grid-template-columns: 1fr 1fr 1fr 1fr; and the second section have 3 div with the property gr...
asked by 16.10.2018 / 09:27
2
answers

Make preloader last 5sec

I would like to know how to make the following preloader last me 5sec before showing me the entire html document. .preload { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -42px 0 0 -12px;...
asked by 13.05.2018 / 04:55
4
answers

Hide everything except three li with nth

I am using a list that I use for paging, and it is so long that I would like to hide all of them except the previous one, current and next. For example: <ul> <li>1</li> <!-- Ocultar --> <li>2</li> &l...
asked by 29.05.2018 / 23:20
2
answers

Placeholder in a select

I'm using placeholder in my input text type and they work perfect, just that I have a select , in which I want to put a placeholder where it says "select an option", but it does not appear, Does anyone know if I can ad...
asked by 26.10.2017 / 00:22