Questions tagged as 'html'

1
answer

Can I use ANSI charset in HTML files?

In order to be able to publish texts daily using any editor like notepad ++, for example, I would type the words with an accent and save them in the HTML file. I have been reading that UTF-8 it is necessary to put a code for the accents. For e...
asked by 16.06.2014 / 17:11
1
answer

Save formatted text in MySQL DB

I am developing a news system and need to save formatted text, with line breaks, images between one paragraph and another and bold / italic etc. It's all working php posting, display and everything. Could someone show me how I can save that way?...
asked by 13.06.2014 / 15:37
1
answer

Error rendering with jQuery Ajax

Quick information on how this code should work: Ajax takes an html, compiles with Handlebars, the same ajax takes a json from an api, packages everything and renders an index with an append. var orderTemplate takes a template from index.hb...
asked by 19.05.2018 / 05:33
2
answers

HTML / CSS - input text mask date, time

I am a beginner in the area and I am not very knowledgeable, I have the following code, and I would like it to be filled in with numbers only and in the format "00/00/0000" and "00:00" respectively. I know there are other means, but I would like...
asked by 19.05.2018 / 13:19
1
answer

align text vertically within a CSS div || HTML

I want to align the text vertically in the div, but I would like to know if it's possible to do it without changing the css because I'm using link <div class="sticky-top"> <div class="container-fluid bg-secondary" style="height...
asked by 14.05.2018 / 12:00
1
answer

Focusing on an element

In CSS it would look something like this: div { display: none; } div:active { display: block; } And some user action would focus on this div by javascript I know what I can do by adding and removing a class / attribute however I...
asked by 28.05.2018 / 00:36
3
answers

I can not get the icon on the right side of the screen, inside a div [closed]

<head> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> </head> <div clas...
asked by 26.05.2018 / 20:23
1
answer

CSS menu creation

Hello, Would you like to know the easiest way to create an HTML menu in CSS? I tried to make one here and it really did not work out. <!DOCTYPE html> <html> <head lang="pt-br"> <meta charset="utf-8"> &l...
asked by 07.05.2018 / 23:13
1
answer

Dropdown HTML and CSS

* { margin: 0; paddin: 0; } body { margin: 0; paddin: 0; font-family: 'Source Sans Pro', sans-serif; background-color: #F7F7F7; } .header { position: absolute; width: 100%; z-index: 3; h...
asked by 17.04.2018 / 05:54
1
answer

How to make a Content Script communicate with an iFrame element in extension for Chrome?

I developed a toolbar for Google Chrome by adding it to the pages through an iFrame: var iframe = document.createElement('iframe'); iframe.id="iframeId"; iframe.src = chrome.extension.getURL('CLAWS_Sem_Imagens.html'); iframe.style.height = 7em...
asked by 15.09.2015 / 01:36