Questions tagged as 'html'

2
answers

Is there a maximum size limit for an HTML page?

   Note: This question is not about code optimization. It is well known that browsers have a size limit for a URI. Is there any kind of limit for requesting / rendering an HTML file? Given a simple example, let's say an HTML page genera...
asked by 28.12.2015 / 09:08
1
answer

Scroll in div if necessary

I have the following div on my page html <div id="divContent" class='content'> Bem vindo ao meu site <br /> 1 index index index index index index index index <br /> 2 index index i...
asked by 19.01.2016 / 13:15
1
answer

Text skirting image / round div

I'm in doubt about how to make the text work around the image / round div. Follow the example: Maybewecouldstartlikethis:html<divid="texto-esquerdo"> <p> Lorem Ipsum é simplesmente uma simulação de texto da indúst...
asked by 12.01.2018 / 13:43
2
answers

Avoid more than one record in the database

I'm having problems because I'm doing a community system where the user registers and shares stories. More when I was testing I clicked to register 2 times and 2 times it went to the database even with a checking function. MYSQL: CAMPO |...
asked by 22.11.2015 / 16:09
1
answer

How to know the name of an image with JS?

I wrote a code in which it creates a slide of images in a div , I would like to know if with Javascript it is possible to know the name of the image that is passing on the slide, because when the image appears, I want a text to appear desc...
asked by 13.11.2015 / 22:26
1
answer

How to keep a rotated text centered in a dynamic height div?

Basicallymyproblemisinthecolordiv,andinrotatedtext.Ineedthedivofthecolor,hastheminimumheightrelativetothesizeoftherotatedtext,andthatthemaximumheightisrelativetotheexternaldiv.Iwillhavedynamicinformationinsertedintotheinformationboxdivs.Myprobl...
asked by 21.10.2015 / 12:32
2
answers

Show image and upload an input

Hello, I would like to know how to get the path of an image contained in the value of an input of type file. I'm using the following code: $(document).on("change",'#Upload',function(){ var valor=$(this).attr('value'); var ex...
asked by 07.04.2014 / 18:08
2
answers

How to connect two SELECT (combobox) in PHP and do AutoFill?

I would like to know how to connect two select . As if it had a category and a subcategory, but I want the subcategory to appear when I click on the category. I have two tables in the bd a member and another exercise, when I choose my memb...
asked by 24.09.2015 / 16:20
1
answer

Problem setting CSS inside 'style'

I'm facing a problem. I want to put all my CSS inside the Style tag as shown in my code below: <style> input[data-column="1"] { display: none; } input[data-column="2"] { display: none; } .editCancelar { margin-left:-2px;curso...
asked by 28.02.2014 / 12:21
1
answer

Why is it recommended to put the javascript codes at the end of the body tag scope? [duplicate]

Do you have any rules regarding the use of scripts in the head tag? W3C has not made the usage rules very clear.     
asked by 02.09.2015 / 05:25