Questions tagged as 'html'

4
answers

Div inside another broken div

How to insert a div into another div without any of them breaking the line. I want to do it this way because I'm developing a clan website and in the index you have to have the login button or the registry, I did that but when I ran the html...
asked by 27.11.2015 / 19:30
4
answers

javascript error if

I'm not able to do a condition with if for example: asd=true; if(asd=='true'){ alert('funcionou'); } but it seems that somehow it is not entering if     
asked by 25.03.2014 / 16:51
3
answers

How to go to a link when clicking a div without using href

I need to redirect the page to a specific link by clicking a div , without using <a href> of HTML. I'm using HTML, CSS and jQuery and PHP. Here's a snippet of code: <div id="btn-oculto2" style="display:none;">...
asked by 01.01.2015 / 15:23
5
answers

How to embed CSS in HTML tags?

I have a CSS file containing the following code. .texto{ Color: Red; } I have the HTML file with these tags : <html> <body> <span class="texto">TEXTO 1<span> <span class="texto">TEXTO 2<span> <sp...
asked by 05.11.2014 / 19:54
4
answers

Modified disabled button using firebug

Imagine that in an HTML I have a button disabled. I can very well use Firebug to enable this button and thus do the submission. The question is: is there any way I can disable this button and not allow this submission even when I modify the...
asked by 13.02.2014 / 18:20
2
answers

Is the attribute of a label element good for something?

I see several code examples where the "for" attribute is set to labels. But in practice, whether or not this attribute influences something on the page? Ex: <label for="male">Male</label> <input type="radio" name="gender"...
asked by 02.05.2018 / 20:54
2
answers

How to switch images when clicking on a checkbox?

In my script I'm making a placeholder, but I can not get it to switch images after click in checkbox , and all the time table chairs are misaligned. Type: checked checkbox shows the red chair checkbox unchecked shows the red...
asked by 01.01.2016 / 20:11
2
answers

How to put two divs next to a container?

How do I put two divs, one on the left side and one on the right side of a container with the bootstrap? Being that you would like the side divs to increase in size according to the screen.     
asked by 11.09.2015 / 23:20
2
answers

Put my email to receive the contact messages

Where do I add my email to receive the messages from the contact form? <form name='contact-form'> <div class='fm_namer'> <input class='contact-form-name' id='ContactForm1_contact-form-name' name='Nome' onblur='this.placeho...
asked by 04.10.2017 / 15:17
0
answers

How to center img inside a div? [duplicate]

I'm doing a grid of images (which will be links to lightbox), I want 5 images per line, but they have different sizes, so I made the following html for each image: <div class="thumb"> <a href="images/900x600/img01.jpg" data-lightbo...
asked by 21.05.2014 / 07:18