Questions tagged as 'html'

2
answers

Div occupies the full width of the screen

I'm building a layout where there is a bar at the top of the screen that plays from side to side. I used the witdh:100%; property, but I did not get a satisfactory result. The body of the page is covering the entire screen, but both the t...
asked by 09.09.2017 / 17:57
1
answer

Change the anchor position of the top css selector?

Hey, I'm having a problem defining a web design. my problem consists of doing a <div> that is being used to draw a cross line on an "html" page. But when I use -webkit-transform: skewY(10deg) the margin-top position is center...
asked by 08.09.2017 / 21:18
2
answers

Should I use form or div?

In case of being sent with ajax I believe that it is recommended to use the form tag, but what if I just do something with javascript, ie only on the client side, for example change the background color of the application, or generate some rando...
asked by 09.09.2017 / 22:35
1
answer

doubts about css action in div

Well, I'd like to know how I can make a display div when I'm focusing on the input code ex //CSS .email:focus > div.oculta{ display:none; } //HTML <div class="form"> <input type="text" class="email" name="email" placeholder=...
asked by 22.09.2017 / 04:51
1
answer

How to swap images in javascript and html5?

I am putting together a mobile app that detects beacons when activating the bluetooth of the phone, using Evothings, which uses javascript and html5. When I detect the beacons, I need one image to change to give way to the other. Testing by code...
asked by 22.09.2017 / 15:18
1
answer

Use label instead of href

I have the following css * { margin: 0; padding: 0; } ul { display: block; list-style: none; border: rgb(0,0,0) 1px solid; } ul li { display: inline-block; width: 50px; height: 50px; text-align: center;...
asked by 22.09.2017 / 18:09
1
answer

Jquery add and remove attribute not working

I'm trying to create a way to minimize and maximize a DIV. Minimize works, but maximize does not. What am I doing wrong? $("#chatMinimizar").click(function() { $("#chat").attr("style", "height: 45px;"); $("#chatMinimizar").attr("i...
asked by 25.07.2017 / 23:17
1
answer

Create animation "FadeOut"

The table is created by javascript code, when clicked on an item from another table, but it has no animation. The animation I want to put is "FadeOut". When the table item is clicked, it should appear with the "FadeOut" effect. I tried to use Fa...
asked by 26.07.2017 / 06:17
1
answer

What attribute use to put captions hidden in HTML (do not want in CSS) for the visually impaired?

I would like to put a caption hidden in an image using only HTML, but it is not the title of the image when I put the mouse over it, it is an attribute of the image, a legend that does not appear for normal users, but when a visually impaired is...
asked by 27.07.2017 / 23:37
2
answers

How to position one element in relation to another easily?

I'm creating something like an online store, but I'm not able to stylize my HTML right, I'd like the <div>s empty (I put div in the example just to illustrate, but it's actually images), get the price on I have created a different d...
asked by 27.07.2017 / 20:05