Questions tagged as 'html'

3
answers

Get the width 'width' of a text?

We usually get the width width of a div or any other tag within the page. How can you get the width of a plain text? For example: Um texto How do I know the width of this text in the JavaScript page?    It is no...
asked by 24.02.2018 / 01:59
1
answer

Problem in Django send_email function

Good afternoon! I have the following code in views.py: def email(request): if request.method=='POST': form = ContactForm(request.POST) form.email = request.POST.get('email', '') form.subject = request...
asked by 01.03.2018 / 17:19
2
answers

Hold the hover on a button after the mouse

How to maintain the hover effect after the mouse button? The code below has this function, but just by clicking, I'm pretty new at it, but I'm learning. var header = document.getElementById("div777"); var btns = header.getElementsByClassN...
asked by 18.07.2018 / 05:02
1
answer

Python: Clean html code

Using python, what would be the easy way to clean tag parameters from Microsoft tools? Initially I'm trying to turn via beautiful soup, but I'm open to any suggestions! : D In this way: <p style="text-decoration: underline;">Hello...
asked by 22.02.2018 / 10:07
2
answers

Specify Modal Size

I've added a modal to my site, and I'm trying to change the size of it. But as much as I change its css, it does not apply to the site, I'm changing it inside the bootstrap.min.css file of my site, as in the image below Canyouhelpme?-...
asked by 12.01.2018 / 15:42
2
answers

Problem in the hyperlink for linking to phone numbers

I have a field inside a table, where the phone backs up from the database, in a format string (xxx) xxxx-xxxx . I want the moment I click on the phone, open the option to choose which program I will use to make the call. (for example skype...
asked by 11.01.2018 / 17:12
2
answers

I am trying to move my text to the lower right corner but I can not

My code: <font color="white" align="right">&nbsp; <br> Lucas Sintra </div>     
asked by 03.01.2018 / 15:59
1
answer

Toggle button, button class

I'm trying to make a toggle button, but I have a problem the button I want needs a class to stylize in css. button class="button button1">Shadow Button</button , but the toggle button code I got uses a type on the button button oncli...
asked by 28.12.2017 / 14:36
1
answer

CSS - When you click change another element

I wanted to know how to do so when I click the h1 button change to red color, just with css <!DOCTYPE html> <html> <head> <style type="text/css"> button:active + h1 { color: red; } </style> &l...
asked by 20.06.2018 / 23:16
2
answers

Enabling and Disabling Input

I created a script to enable and disable fields on my page but they are not running. $(document).ready(function() { $("#EditarDados").click(function() { // habilita o campo $("nome").prop("disabled", false); }); $("...
asked by 15.06.2018 / 00:43