Questions tagged as 'html'

1
answer

Resize submenu when page overflow

My category submenu, overflows the page when resized. How do I make the submenu go left when this happens? The problem AssoonasIwantittohappen,thesubmenuwasthrowntotheleftbecauseitwasoverflowingthepage #primary_nav_wrap { margin-top:1...
asked by 26.11.2018 / 17:17
1
answer

overlapping divs, but leaving a top not overlapped

I'm able to override the divs but I can not put a nav on it that does not overlap. *{ margin:0; padding:0; box-sizing: border-box; } html, body{ height: 100%; } h1,h2{ color:#ccc; display: block;...
asked by 07.12.2018 / 12:19
2
answers

Selection Elements

I have the following structure below HTML, I would like to know, as I do when I click the button, I can get value from the element of td class="description" before that within the scope of tr. <tr> <td class="descricao">Texto01&...
asked by 29.11.2018 / 14:34
1
answer

how to position a triangle created with css?

How can I position a div that creates a triangle next to an item in my menu? <div class="triangulo"> </div> .triangulo{ width: 0; height: 0; border-style: solid; border-width: 17.5px 30.3px 17.5px 0; border-col...
asked by 07.12.2018 / 13:25
2
answers

CSS Alignment Webmail

I'm having trouble aligning the text of a <span> tag, I use margin-left in css and it works but only the margin in the first line <tr bgcolor="#fff"> <td style="padding:0px 40px 6px 40px;margin:0; text-align...
asked by 14.12.2018 / 12:52
1
answer

How to change the color of a link when mouseover?

I have a horizontal menu with links (example): Home; About; Contacts; The idea is that the home always has the green background padding and the rest of the white background links. When the mouse is over the other links the background changes...
asked by 17.08.2014 / 02:00
2
answers

How to insert values from a Select field into the database

I am a beginner in Ruby on Rails and I need to add a Select field to the user registry form, so I can add a "Type" to the user to be registered. I want to automatically populate the fields when editing and viewing a user record. I'm implement...
asked by 27.07.2014 / 00:32
2
answers

Modify the image size according to its URL

Good morning! I searched (and even found a js named Holder.js that apparently does what I want, but I could not understand it) a way to do the following: Image Url at 700x700 - > link I want it to stay 200x200, so step - > link or...
asked by 01.08.2014 / 14:48
2
answers

Div's with input and label on the same line

My situation : I have a form in which the fields are arranged vertically, and with the label aligned to the right and left, as shown in the image below: Iwanttoleaveatleast2fieldsperlineforothertests,andthereisspaceonthepagetodothis.Ihavemad...
asked by 12.08.2014 / 17:23
3
answers

Field input type="text" does not fill in data with more than one word

When loading a data into an input, only the first word is loaded. Example: '</form> <input type="text" value='.$result->name.' >'; $result->name contains the value "Hello World". Since the input only shows "Hello"....
asked by 31.08.2015 / 19:28