Questions tagged as 'html'

1
answer

Rectangle SVG within another rectangle

I want to place a rect element inside another rect element. I used opacity, but it always shows me a rectangle. I used the following code: <svg width="400" height="180"> <g> <rect x="50" y="20" width="150" height="150" style...
asked by 26.12.2014 / 11:19
2
answers

Overcoming an Image with DIV

Gentlemen, I am pulling some images from the database, and when the user hover over them an opaque red color will be above them, and a title and text will be shown. I did this by putting the image into a div, and inside that div I put another di...
asked by 03.09.2014 / 19:53
1
answer

Parallax Scrolling Horizontal [duplicate]

I would like an explanation of how Parallax Scrolling Horizontal works. Effect equal to this site .     
asked by 14.08.2014 / 21:03
1
answer

How to use a script with variables? JS

I want to create a custom JavaScript: Ex: var lx = function(addr){window.open(addr, '_self'); } But it did not work. I used up visual studio 2012 to edit this script but html did not recognize the function lx('www.google.com');    ...
asked by 08.07.2014 / 14:01
1
answer

Button in Html while hovering

I'm having a problem making a salienced button while hovering over the mouse. <td id="Consulta" class="Title" > <a id="link_abre" href="consultas.html"> <img id="Consulta" src="images/Consulta.PNG" width="65px" height="65px"...
asked by 27.06.2014 / 16:27
1
answer

Is it possible to assign a function to several css rules in the same hover, but with different values?

Can you make a transition in css, all triggered by the same element, but with different values? CSS: .co-la { background: none repeat scroll 0 0 green; height: 25px; left: -37px; margin: 0; width: 0%; } #skills:hover .c...
asked by 01.07.2014 / 07:54
2
answers

Positioning controls with bootstrap not aligning

I need to do the following: Label on top and control under the labels. I took the example from the twitter bootstrap page itself and it is not working. Below my code: <div id="tabs-1"> <form role="form"><!--A tag ul c...
asked by 25.06.2014 / 19:24
1
answer

Dropdown Menu with Bootstrap

I wanted to know how to make a menu that is dropdown, when it is accessible in mobile continue dropdown. I have the site www.ktfdistribuidora.com.br , in the "products" tab it's a dropdown. In mobile it is not dropdown, when clicked o...
asked by 10.06.2015 / 23:36
4
answers

Problem with div placement

Good afternoon guys, I'm doing a DropDown menu on a website, I'm having the following difficulty, when I hover over the item, the subitems are below a banner plugin. Ex: If I put the banner div (display: none), the SubItem appears and goes...
asked by 25.07.2014 / 20:12