I am dealing with a chart that has unwanted spacing on left and right side. I've been trying to remove it with no luck, and I don't know what else to do now. I've read the documentation thoroughly, but can't seem to find a solution....
I have a script on jsfiddle: http://jsfiddle.net/kX7b6/  Nothing happens on hover  On hover I want the green box to overlap the red box with a negative margin -50px. Nothing happens.  The animation works, but not margin  Just to show that the animati...
It was my understanding that [some elem].style.maginTop would return a string with the element's top margin.  Instead, I'm always getting a blank string. I want to use this with the body, but I also tried on a div, and that didn't work ei...
I have a website that needs to be fullscreen at every screen. For this reason I use alot of jQuery to determin the height, max-height, margins, ...  I have a margin-top on the container id. When i call the height, which is the base of determing the m...
Is there a way to detect the true border, padding and margin of elements from Javascript code? If you look at the following code:  <html>     <head>         <style>         <!--         .some_class {             padding-left: 2px...
I'm hope someone can help me with this.  I would like to wrap text around multiple stacked floated elements, however when I am adding a negative margin to the second element the text does not play ball (see below)...  Does anyone have a solution...
I'm trying to determine the used value of the margins of an element. My understanding is that this should be returned via .getComputedStyle(). However, it seems that FireFox and Opera don't return the correct values when margin: auto; is used...
I have a webpage filling with a variabel number of the same class elements. I want to set a left and right margin to every 2nd, 5th, 8th, 11th etc. class (if present).  Is there a way to achieve this with javascript? I don't want to use css3 chil...
I have a syntax issue as I want to do something quite simple. Apply a negative value to a variable using .css.   Here yo have the code:  var figureImage = $('.js-image-centering'); var figureImageHeight = figureImage.height(); var figureImage...
I have made this website it works fine on Internet Explorer, Firefox and Chrome. But when I try and access it through my mobile it seems to get rid of all the margins which messed up the layout of the website  This is what it looks like on the browse...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.