Questions tagged as 'css'

1
answer

Selecting Disabled Items

I need to differentiate the view from a select box where there is an element selected by default, but it can not be selected by the user (as if it were a placeholder of a normal input), but I want to stylize it, I tried to use something like How...
asked by 24.03.2017 / 19:49
1
answer

Display flex and width of child elements are not working

I'm developing a form, however, an error occurred on the page, the elements are bordered to the end of the width of the parent div, even if setting a margin 0 and width less than 50% (which would divide to 2 or more elements in line) *{...
asked by 24.03.2017 / 16:05
1
answer

Limit text to first paragraph in AngularJS

I have an application that receives a giant text from the database. I want to display only the first paragraph and put a text saying "SEE COMPLETE DESCRIPTION" just below and when I click open in a modal or even in the div where the rest of t...
asked by 24.03.2017 / 19:21
1
answer

How can I put a logo on the same line as a navbar flexbox?

Hello, I have this situation: .navigation{ margin: 0; display: flex; background-color: #6ab240; height: 64px; justify-content: center; align-items: center; } .navigation a { font-family: 'Roboto', sans-serif;...
asked by 12.03.2017 / 16:37
2
answers

Problems with background printing using bootstrap in Firefox

Good afternoon, friends, I do not have much practice with Bootstrap yet, I could not figure out a way to maintain the background of a div, when I print a page through window.print () I have the following code: <div class="qCor" style=...
asked by 08.03.2017 / 19:41
2
answers

Error in function for load bar using a while () {}

I am trying to mount a load bar that starts after 2 seconds of loading document , It every 100 milliseconds gets 1% width . However, when the page loads, console.log () shows that the function is running, but nothing happen...
asked by 08.03.2017 / 14:41
1
answer

Alignment of tables side by side

I have these four tables, but I'm having a big problem that I can not solve. The fourth table is below the others and not next to .price-page { background: none; margin-bottom: 130px; } .container { width: 970px; } ....
asked by 05.04.2017 / 17:26
1
answer

How can I make margin-top relative to a div?

Well, it's the following, I have several divs, which are contained in a id="container" div. Some, I want them to be higher than others, but I intended to do margin-top, of all with respect to a single point, and not some other paras. That...
asked by 16.03.2017 / 19:00
1
answer

How to put a color on the tr of a dynamically selected Radio

Is it possible for the line color to change after the user selects a radio from the list, taking into account that I am submitting the page? the problem is that I am not able to do it as you can see below my Table pulls the database data dynamic...
asked by 16.02.2017 / 11:43
1
answer

Div when opening is overlapping another div

I have the following code: <?php if(!isset($_GET["p"])) { echo $phpUtil->erro ("Produto inexistente!"); } else { $imagemAdd = "<img src='../_img/add.png' style='height:40px;' />"; $produto = $produtosDao-...
asked by 21.02.2017 / 12:35