Questions tagged as 'css'

1
answer

Centralized Div

This my div is not in the middle of the screen, is the CSS style wrong? <div style="position:absolute;margin:auto;"> <img src="assets/img/PHP.png"/> </div>     
asked by 01.08.2017 / 21:02
2
answers

Height of row in bootstrap using percentage (%)

How do I change the height of row in Bootstrap using percentage? I tried the height property in both CSS , and pure HTML , and did not work. In a nutshell, I want to have control over the height of the row . In the Height propert...
asked by 26.10.2017 / 17:20
1
answer

Fixed menu in refresh (F5)

I made a menu that perceives when the scroll passes from a certain point and stays fixed, until all right, but when I rolled the page a little lower, and updated (F5) I noticed that the menu disappeared, and then scrolling once up / down...
asked by 27.10.2017 / 16:12
2
answers

I would like a hint on checked, select option how do I clear fields if a person selects an option

Good morning I would like a hint about checked, select option how do I clear fields if a person selects an option <form method="post"> <input type="hidden" name="id" value="<!--# Valor=Cliente.Id #-->" />...
asked by 19.09.2017 / 16:11
3
answers

How to readjust the image to div size

This image has 500px x 500px and the div has 600px x 600px How can I treat the image to be the same size as the div? #conteudo{ width:600px; height:600px; float:left; background-color:#ff1; display: initial;...
asked by 19.09.2017 / 20:30
2
answers

JScript and CSS - Rotate by rotating the div instead of an image

Hello, I used a JavaScript library to rotate an image by clicking on it, in a javascript snippet I put what will spin when you click: $("#conteudo").rotate({ The problem is that it's spinning the entire div :( How can I put to run only...
asked by 26.09.2017 / 13:45
2
answers

Show and hide div when clicking button

I would like to click on the start test button, the counter div appears, and when I click next test, disappear the div id = 01 and only show id = 02 and so on, whenever I click on the next test it writes one text below the other. <!DOCTYPE...
asked by 18.07.2017 / 20:04
1
answer

Internal elements overlapping the section

The <b> tag overrides the <section> tag, see the example when I use padding : Noticeintheimageabovethatthelightgraybarreferstosectionisshorterthanthebtag.Thatis,theinnertagoverlaps.AlsowhenIresizethebrowserthetag...
asked by 20.07.2017 / 15:46
1
answer

Hiding and displaying a form using a link

I have a link and a form that needs to work as follows: When I click on the link, the form is visible and one more click on the form link is hidden. classe of the link to hide and display the form is: menu_propaganda_guia_comerc...
asked by 21.07.2017 / 01:05
1
answer

How to do automatic translations?

I have a HTML page and would like to have it in several languages But did not want to make a page for each language and leave editing in HTML. Is there any way I can do an external document , a JSON, I do not know where I only put t...
asked by 06.07.2017 / 13:59