Questions tagged as 'css'

2
answers

Insert Image with CSS Without Line Break

I have the following problem, when I insert some photo with the background it is breaking line: Iwantedthemtobealigned: Ex:[Imagem]-[Imagem]HTML:<spanid="vote"><a href="#" return false;"> <div class="like"></div>...
asked by 04.03.2018 / 17:43
1
answer

Assigning the radio button through the div

I need to do a simple questionnaire and multiple choice answers, in this case I chose the radio button ... In my PHP I'm getting the posts and I'm already doing the verification of responses with if . My problem is, in the layout there...
asked by 06.03.2018 / 05:15
1
answer

Create a video by javascript

I tried to create a video on my page which is generated by button click through javascript, as follows in the code: function tocar_video(mysrc){ var video = document.createElement('video'); video.src = mysrc; video.autoplay = true;...
asked by 27.02.2018 / 16:57
2
answers

because the hover does not overlap the div

I have a problem I think is quite simple. But I already did everything and nothing solves, as you can see in print div that is with hover it does not stay on div pai link what could I do? The% div of% is with...
asked by 17.03.2018 / 15:21
1
answer

I can not put menu above the text

function toggleSidebar(ref) { ref.classList.toggle('active'); document.getElementById('sidebar').classList.toggle('active'); } #sidebar { position:absolute; top:0px; right:0px; width:600px; height:100vh; b...
asked by 21.05.2018 / 20:33
4
answers

how do I put the background in full screen, CSS?

The image does not take the entire screen, I've already tried to put width and height , but continued the same way the image appears on the page. HTML <!DOCTYPE html> <html> <head> <meta name="viewport" c...
asked by 15.05.2018 / 21:26
1
answer

Open link in another browser in HTML

Good morning everyone! Next, I have a very simple HTML code, where I have an image linked to a link of a local application in the company (the application is web) or when I click on the image the page automatically redirects me the applicatio...
asked by 01.02.2018 / 15:17
5
answers

How to display DIV if the radio is dialed?

I have the following code: <form> <input type="radio" id="div1" name="consulta[]" value="1">Opção 1 <input type="radio" id="div2" name="consulta[]" value="2">Opção 2 <input type="submit" value="Registrar"&g...
asked by 27.11.2017 / 11:42
1
answer

Removing fields from a list

I have a question. I created a list and wanted to remove the elements from it by clicking on the 'x' as in the following image (I put x by paint): HowcanIdothis?Isitanattributeorisitconfigurablebyanotherlanguage??Forgivenessofignorance <...
asked by 23.10.2017 / 17:47
2
answers

Limit image size

I have a news listing and would need all images to be limited by a height , but I can not set a specific value, otherwise the image may stretch. All images should be the same size and width. You can cut if any. How to do it? item h1,...
asked by 04.09.2017 / 18:58