Questions tagged as 'html'

2
answers

Navbar does not hide the div title when item is clicked

How do you make sure that the fixed header does not hide the elements? I'm using bootstrap 4 for a navbar. Here, for example, I have a fixed header and some divs with titles. When I click on an item, it redirects (with href) to that session ......
asked by 29.08.2018 / 17:07
2
answers

Add attribute via CSS if element below contains x element inside

Hello! I do not know if I could be very clear with the title of my question. But my question is with the following code: <div id="newsletter" class="col-sm-12"> <div class="news-title"> <i class="fa fa-envelope hidde...
asked by 06.09.2018 / 14:17
2
answers

Wrap attribute of textarea tag

What is the utility of the wrap attribute of the textarea tag? What's the difference between your soft, hard, off values?     
asked by 17.02.2016 / 17:23
1
answer

How to create a join form (PickList) in modal?

How to make the screen below in modal. Remembering that the boxes are multi-selectable, and how do I click the Associar > button to pass to the right column the values I selected on the left and vice versa when I click on <...
asked by 23.02.2016 / 19:03
1
answer

How to use Helvetica or another font on a website, and make any PC appear?

I'm having source problem on a site, I'm using Helvetica, but on other PCs that do not have this source it does not appear. How can everyone see this source?     
asked by 08.06.2015 / 20:41
1
answer

How to use fadeIn () with an append ()?

How to add the fadeIn () effect, along with an append (). EXAMPLE     
asked by 19.02.2014 / 23:36
2
answers

Button that when clicked shows only the content of a certain class

Hello, I'm creating a Javascript system, where I need a button to show only the paragraphs with a given class in a div with hidden content. Example: <button id="btn1">Abre classe1</button> <div id="conteudo"> <p...
asked by 24.07.2014 / 23:14
1
answer

Print HTML page content

I would like to print a page of this format ButwhenIgotoprintitisinthisformat IhaveafunctioninJS,butIdonotknowhowtosolvethisformattingproblemCODE<!DOCTYPEhtml><htmllang="en"> <head> <meta charset="utf-8"> <meta...
asked by 26.05.2017 / 14:29
2
answers

How to avoid repetition of code that does the same thing for different IDs?

There is an onClick Javascript function for each "Show More". This function changes the visibility of the div to visible to which the default is hidden. However, as simple as it may be, the code got too big. Is there any way to shorten or s...
asked by 09.06.2017 / 14:52
2
answers

Table does not break line

This is the following I am using a site table: DataTables and what is happening is as follows: AsyoucanseethetextgetsallinlinewhichmakesitdifficulttoreadbecauseyouhavetoscrollmydoubtishowdoImakeautomaticparagraphsorthatthetablebreakstheline.&...
asked by 23.12.2017 / 03:30