Questions tagged as 'html'

2
answers

Modify TAGs that do not have such class

When we want to modify a div, and it has a class such, it is easy. .umaclass{ /*Formatação*/ } But let's suppose I want to get a div that does not have such a class, without modifying the ones that have the class ... How do I do? For...
asked by 24.05.2017 / 19:59
2
answers

How to limit the size (kb) of a photo with JS?

I have the following question, can you limit the size (kb) of the photo on the client side with JS (or jquery)? I'd like to limit by up to 500kb using input type="file" <input type="file" name="imagem"/>     
asked by 15.02.2017 / 16:36
2
answers

How to change the type of text in a list with JQuery?

How can I make an effect on the text inside the lists with JQuery? For example, when the mouse rolls over the text in the lists, the color becomes clearer and the text is underlined. p { line-height: 1em; } h1, h2, h3, h4 {...
asked by 13.12.2018 / 21:21
2
answers

Placing scroll horizontally

I wanted to put a scroll horizontally, so it can be accessed on mobile screens. How do I do this? .menu_topo_geral { width: 100%; height: 50px; background: #616161; } .menu_topo_geral div { cursor: pointer; tex...
asked by 22.12.2016 / 20:40
2
answers

Subtract date with javascript

I have the following problem, I have a date that comes from the database and compare with the current date, and I do the following: var dataAtual = new Date(); var partesData = dataAtual.split("/"); var dataAtualNova = new Date(partesData[2],...
asked by 01.12.2016 / 19:11
3
answers

Get content inside multiple divs

You need to grab the contents of several div's with equal classes. For example: <div class='conteudo'> <li>Conteúdo 1</li> </div> <div class='conteudo'> <li>Conteúdo 2</li> </div> <div cla...
asked by 04.12.2016 / 19:37
1
answer

click the div increase click again decrease

If you can help me with this question I would like to click on a div that is fixed on the rod and it increases and then click again and it decreases, how do I do that?     
asked by 26.11.2016 / 02:56
2
answers

Auto-fill input in a form (php, html)

I have a simple form with the following text fields: name, post, mobile and email. I want to make the 'email' field fill in the 'name' field automatically as follows: for example, if the 'name' field is filled in with 'José da Silva' the 'email'...
asked by 22.06.2014 / 05:20
2
answers

Replace with span gives problems in page SEO?

Well, I have this html to enable the title and link of the article: <h1 class='post-title entry-title'> <b:if cond='data:post.link'> <a expr:href='data:post.link'><data:post.title/></a> <b:els...
asked by 22.08.2014 / 16:11
5
answers

input type="image" ... with LINK and HOVER

I can not put an effect on a button, I have 3 images made in photoshop, one is Normal (Link), another when hovering, and one when I click (Actived), however, I can not activate these effects via CSS, follow my HTML ... <input type="image" s...
asked by 04.08.2014 / 20:36