Questions tagged as 'html'

3
answers

Why does it always return null?

I created this FIDDLE as a test. I have this li inside a variable and I want to add the class c2 to that same li var linha = '<li id= "id1" class="c1"> ' + '<div id="id2">1</div>' +...
asked by 17.06.2015 / 13:11
3
answers

Diagonal button only the left side

I have to make a button like this in CSS: I know I can do this by cropping the image and setting input to image but I wanted to do this in CSS . I found a way that ALMOST would help me what it would be: .botao{...
asked by 28.04.2016 / 20:31
4
answers

Positioning of li's on page

I would like to make my li spread evenly across the width of the page. How can I do this with css?     
asked by 02.08.2016 / 14:37
1
answer

How to get the blue color of links using CSS?

My teacher asked me to recreate the pages of G1, Globo Esporte and Walmart. It wants the links "dead, so I use <a href="#"> . The problem is that there the content of a turns blue, and the pages have links in several differe...
asked by 20.09.2016 / 05:35
1
answer

Button within an A (Link)? Is this a bad practice?

I was using a Scaffold library for automatic generation of HTML codes. It was specifically for generating forms in Boostrap 3. Then I noticed that the action links that were being generated were like this: <a href="url_da_pagina"&...
asked by 13.05.2016 / 16:13
3
answers

HREF pointing to a button

How to point an HREF to a button of type submit that is hidden? Hidden / invisible is because the button will be using the hidden attribute.     
asked by 30.03.2016 / 07:31
2
answers

How do I make a mask for an input? [duplicate]

I'm trying to put CPF mask in a input , I've already seen several answers here and none worked, I tried to use mask on itself input , on jQuery and none worked. I use the Framework Materialize . Is this what is retur...
asked by 19.04.2017 / 16:09
3
answers

Get font size in HTML

I need to get the information from the font that is set up in the HTML tag with JQuery. I know that to get the size of the font-size just use: css: p {font-size: 12px;} JS: var tamanho = $("p").css('font-size'); The question is,...
asked by 06.10.2017 / 20:39
2
answers

Request for a form with laravel not working

I am making a request from my controller for a form in the view, it is giving this error. I tried several methods but none solved. Controller:publicfunctionstore(Request$request){$NomeDaEmpresa=$request->input('NomeDaEmpresa');$nCompartil...
asked by 22.02.2017 / 19:06
2
answers

Put Javascript function inside the onclick

So it's a bit silly doubt but I need it a lot ... I have a Javascript function inside a buttom in this example it calls the loadDoc () function. but I'd like to put the function directly inside the onclick. <!DOCTYPE html> <html> &...
asked by 09.12.2016 / 00:16