Questions tagged as 'html'

2
answers

Do I really need to put the html element before the class in CSS?

I do not know if this applies to everyone, but the only element I'm interested in is <div> . For example: div.classe1 { /*...*/ } .clase1 { /*...*/ } What's the difference between the two examples? I can do the same things with...
asked by 20.08.2018 / 22:34
2
answers

What is the ideal size for a mp4 video at the bottom of the page

I want to implement a video mp4 page on page 404 and I've taken the video from that site > at 1920 x 1080 size with 3.3 MB and 0:09 sec. My concern is whether this size will be too slow. This is the first time I create this kind of page. can y...
asked by 07.01.2018 / 23:56
2
answers

jQuery Codes for javascript

I am having problems, Javascript is very confusing for me, let's see that I have a function that accomplishes all this in jQuery $(".message-form-content").attr('style', ' '); // Esvazia o style da div $("#load-content").html(success); // Pree...
asked by 13.12.2014 / 17:40
2
answers

Render HTML using PHP

This question is very large and can be answered with multiple answers but I did not get answers in the discussion forum. Well I would like to know how to build the following page using PHP (but I built using html): IthasthefollowingHTMLcode:&...
asked by 08.01.2015 / 17:39
3
answers

Displaying data in a table with foreach

I'm having problems on the results page, others are working correctly, the purpose is to print the approval or disapproval of the students in the table using foreach in PHP. Error:    Warning: Invalid argument supplied for foreach...
asked by 06.03.2015 / 19:13
3
answers

Dynamic background with respect to div

I am doing an exercise which is necessary to create a website for an advertising agency. I did everything right but I'm having a lot of difficulty with a feature. I want that when passing the mouse on a <article> with an id chan...
asked by 02.06.2018 / 23:50
2
answers

How to reduce space between bullet and text in a centralized ul?

I have a centralized list. <ul style="text-align: center; list-style-position: inside;"> <li>abc</li> <li>xyz</li> </ul> The point is that the bullet is too far from the text. I w...
asked by 24.03.2017 / 16:05
1
answer

Problem removing readonly in Internet Explorer [closed]

I have a function that removes readonly from a field after focusing on it: $input.removeAttr('readonly'); The problem is that only in Internet Explorer even after removing the readonly it does not allow me to type in the field....
asked by 27.04.2015 / 20:09
3
answers

Check which p has no text

How can I check which p has no text value? I have the following HTML code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body>...
asked by 05.09.2018 / 00:22
2
answers

View how many people have accessed pdf

I have a pdf on my server and I put it available through a link, is there a way to control how many people access the pdf?     
asked by 11.03.2015 / 17:55