Questions tagged as 'css'

2
answers

Div overlap the other

Colleagues. I want to put a text on a div, but as I change the size of the div, the text decreases and ends up breaking. See the image: ThecodeI'musingisthis:<divstyle=\"width: 300px; height: 20px; background-color: #FFF; border: 1px s...
asked by 21.03.2017 / 15:15
2
answers

Effect of pie div

Well, I have a% d of% that has box2-1 at 100%. I want to create a% div of% that has width in 100%, but that maintain the background with two colors, to have an effect of a pie div. Can anyone help me? Follow the code. The proble...
asked by 20.04.2017 / 15:52
2
answers

Center DIV [duplicate]

How do I centralize this div: .centralizar { width: 80%; background: #fff; }     
asked by 15.09.2016 / 01:53
2
answers

I can not break the line using JavaScript

Good morning, I'm having some difficulty trying to break a line using javascript's [b] \ n [/ b]. The code is working perfectly, what happens is that at the time of displaying, it looks something like this: My nick: Vinicius How I discovere...
asked by 27.08.2016 / 17:33
2
answers

Customize input range for progress bar?

Custom progress bar for a video player range , someone can give me some tips, thank you. <input type="range" id="progress-bar" min="1" max="100" step="0.1" value="0"/>     
asked by 24.12.2016 / 18:31
3
answers

Align vertical giving error!

How do I make the image and link below align vertically to the center? The image and the online link, and this line, aligned vertically to the middle (middle) in relation to the div I tried 2 ways: 1)        .login { di...
asked by 02.03.2017 / 17:23
3
answers

Margin-top of DIV daughter pushes her and DIV father together

I'm wanting #div1 to move away from #fisrt and not to #second together, but it's not working with margin-top: 5px; on #div1; . That is, between joining #first and #second I want #div1 to mov...
asked by 13.03.2017 / 21:36
1
answer

How to set up menu and sub menu?

How to show a sub-menu inside another? <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li>@Html.ActionLink("Início", "Index", "Home")</li> <li>@Html.ActionLink("Usuários", "In...
asked by 05.04.2016 / 18:19
1
answer

Stylize input type file [duplicate]

Is there a way to style an input type file and leave it like this? I tried styling via css but I did not succeed. I can not think of any way to do this.     
asked by 23.03.2016 / 22:14
2
answers

How to make a checkbox in the corner of an image?

I'm doing work for school in php, css ... And I wonder if it's possible to put checkboxes into images that come from the database. I would like to put the checkboxes (in red) as they are in the attached image. This is to make it easier to de...
asked by 05.04.2016 / 23:37