Questions tagged as 'html'

6
answers

Hide div after selecting another category

Select code <select name="category" class="form-control" id="category"> <option value="">Escolha uma categoria</option> <optgroup label="Vehicle"> <option v...
asked by 03.03.2015 / 17:17
2
answers

POST Validation Doubt

Hey guys, I'm pretty new to php, my project was giving a:    notice of undefined index So the guy showed me this code for POST validation: $texto = isset($_POST['texto']) ? $_POST['texto'] : ''; But he did not explain how it works,...
asked by 04.08.2018 / 14:00
1
answer

How do the onclick event work on a button where the parent already has an onlick?

I have a div parent that in it occurs an event onclick in the div integer, however within that div I want to have an element that also has a onclick event that is triggered without triggering onclick of%...
asked by 15.08.2018 / 19:26
1
answer

Put JS in only one div

My question is as follows, I have a div that I need to have a less updated version of js . My page has Bootstrap 4.1 and I need to run jquery 2.2.3 in the div where the most up-to-date (3.2.1) causes the content to blink and doe...
asked by 17.09.2018 / 17:04
2
answers

How to make a line break to send an email to a user with HTML? [duplicate]

I send an email to the user who signs in to the application. I'd like to know how to do the line break so that it stays the way I want it to. Here is the code I use: private void newUserEmail(string email, string sexo, string usuario)...
asked by 29.05.2017 / 15:19
3
answers

How to align one element on top of another with css?

Hello. I have this html code: <p class="titulo"> <a href="javascript:void(0);">(ABC)</a> Texto de Teste </p> It normal looks like this: (ABC) Test Text How do I make (ABC) over the Test Text and centr...
asked by 01.06.2017 / 19:10
2
answers

Button "hamburger" does not work

Can anyone tell me why the button is not working? It was for him to show by clicking on it, but for some reason nothing is happening. :( Using the "collapse navbar-collapse" class I was able to do what I wanted, the menu, to stay hidden, but at...
asked by 30.05.2017 / 18:16
2
answers

Status in the news system [closed]

I have a news system and it is derived from the status, if $ status = Active it appears and if $ status = Inactive it does not appear, how can I do this? <?php $news8 = mysql_query("SELECT * FROM 10cms_noticias ORDER BY ID DESC LIMIT 8") or...
asked by 23.07.2015 / 22:01
1
answer

How to pass a value to the next page with PHP

In the code below I try to move to the next page with the value NumeroCartao . However, the variable is empty on the next page. How do I fix this error? INDEX.PHP <label> Numero da Carteira: </label> <span> <? ec...
asked by 30.04.2014 / 01:44
1
answer

Separate text in two columns

I have a div that will contain two columns. As the image below: IsthereanyCSStechniquetodothis?NotCSS3,becauseIwantittoworkinallbrowsers.Ofcourse,Icouldcreatetwodivsthereandputfloat:leftbutitwillbeacontentonly,whentheuseristypingintheleftcolumna...
asked by 07.08.2014 / 19:06