Questions tagged as 'html'

2
answers

how to get a parent element from a child with id?

I have the following code: <div></div> <div> <div class='minhaClasse'> <div id='text'>hhaushdus</div> <input name='profile_id' /> <div> </div> I need to get this div :...
asked by 11.10.2018 / 22:37
2
answers

Hover over the image and change the caption color

Good morning dear friends, I wanted to know how to move the mouse over an image, and the background of the caption change color, in the example below I can only change the color when I specifically step over the caption. How do I move the mouse...
asked by 16.10.2018 / 18:22
1
answer

Making my menu work on all pages

On my system, I have a menu that works perfectly, however I'm trying to include a dropdown, with more links, the dropdown works only when I'm on the menu page, when I'm on other pages, the dropdown does not work. Example: When I open the menu.ph...
asked by 15.06.2018 / 14:12
2
answers

How do I retrieve and calculate 2 numbers via POST on the Controller in Laravel?

I'm a beginner in language and I'm trying to learn by myself, I created a .blade.php file in order to fill two simple fields and return the calculation via submit, after that I want to list a history stored in the SQL database, but I barely know...
asked by 11.10.2018 / 16:12
3
answers

How to mount a dynamic checkbox

I have one: <select name="snh_predio" id="snh_predio"></select> It loads automatically. When this is changed: $("#snh_predio").change(function() { }); I want you to print to a table a list of checkbox for selection:...
asked by 11.02.2014 / 14:48
2
answers

Position div in relation to an image

I'm doing a sort of map in my application, where an image that takes the whole screen has several buttons on it. Currently,Ipositionthebuttonslikethis:.btn_padaria{left:75.00%;top:20.25%;}Inmobile,I'mdoingthesamething,butthebackgroundimageis...
asked by 14.05.2018 / 19:28
1
answer

place one div inside another!

I have a div and need to put two divs inside it, the problem is that the div in which the other divs will be inserted, does not have enough height for this. How can I do this placement? follow the codes below! .leftside { width: 75...
asked by 13.05.2018 / 23:29
1
answer

Create a sequence from fields

Hello, I would like to add the values of the fields and add 1 according to the last value entered in the input, Example: withjavascript <!doctype html> <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstr...
asked by 14.05.2018 / 22:33
1
answer

Welcome page in HTML

Good. Before developing a website in C # asp.net I created a sketch in Wix. I just do not know how to put the first page of this genre , that is, a small window (indexed by back) before entering the site. Can anyone help? Do I have to create...
asked by 18.05.2018 / 12:51
2
answers

Center text in header [duplicate]

Hello everyone. I created a header with 100% of screen size (regardless of screen size) like this: header { background-image: url('img/background.jpg'); height: 100vh; width: 100%; } <header> <div class="texto-head...
asked by 23.05.2018 / 22:00