Questions tagged as 'css'

2
answers

Problems with configuring tables in PrimeFaces

Greeting for everyone, I'm new as a Java programmer, and I'm having trouble setting up some things in the table for lack of experience, look at the image; Asyoucansee,theYearofmanufacturefieldisbadlyplaced,itlookslikethis;AnodeFabricaAnditsho...
asked by 22.07.2015 / 01:11
3
answers

Problem in leaving automatic field width in responsive layout

I have the following situation .. I'm working on a responsive layout that has three columns, left sidebar, center and right ... It happens that inside the right sidebar there is a text field and next to it there should be a submit button ... Thi...
asked by 12.06.2015 / 19:40
2
answers

Apply CSS when two classes are together

How to apply a CSS configuration only when a tag has the name1 and name2 classes at the same time? I tried with the following code, but it is not working. Does anyone know how to do it? .nome1 { color: black; } .nome2 { co...
asked by 10.02.2017 / 19:19
5
answers

Element with a different size than the width and height definition in CSS?

Code: div { width: 300px; height: 100px; border: 1px solid red; padding: 50px; } <div> Contéudo da div. </div> I would like to understand why inspecting the div that is in the code by the brows...
asked by 06.04.2017 / 20:43
1
answer

Create an accordion menu with CSS only?

Accordion-style menus are useful for saving space, since you only open the parts with the content you need.    ExampleofmenuaccordionstyleButallofthesemenusoftenuseJavaScripttomakethesubtopics"shrink" and "expand" functionality. Is it possibl...
asked by 16.07.2014 / 23:46
2
answers

How to put a phrase inside a form field and it disappear when clicking inside the field?

I would like to know how to put a phrase inside a form field, and it disappears when you click inside the field. Can it be in CSS? What do you do this for?     
asked by 10.12.2015 / 15:49
2
answers

Use or not use CSS / JS within PHP?

Using CSS / JS within PHP, is there a difference if used in an external file for example? Many pages have CSS / JS inside and also externally, would not it be easier to put all together than splitting one part in code and another externally on t...
asked by 10.06.2014 / 23:37
2
answers

How to move one element to the other's position with JQuery?

I have an element and want it when the user hover over it, it should go to the position of another element. For example: I have the element A and I have the element B , when the user moves the mouse in the A element, I nee...
asked by 13.02.2015 / 18:29
2
answers

Firefox serrated font

How to solve this problem in Firefox regarding fonts? Home Unfortunately Chrome is smooth and Firefox serrated.     
asked by 01.04.2015 / 14:23
4
answers

How to transform a rectangular image into a circle (without distorting it)

As shown in the image below, I can make the rectangular figure round, but it gets distorted: .posts .posts-item img { max-width: 100%; height: auto; display: block; margin: 0 auto; margin-bottom: 0.5rem; background-posi...
asked by 23.09.2016 / 18:21