Top "Margin" questions

The CSS margin properties define the space around elements.

Why is there an unexplainable gap between these inline-block div elements?

I have two inline-block div elements, that are the same, positioned next to eachother. However there seems to be a …

html css margin padding
Difference between a View's Padding and Margin

What is the difference between a View's Margin and Padding?

android user-interface view padding margin
jQuery How to Get Element's Margin and Padding?

Just wondering - how using jQuery - I can get an elements formatted total padding and margin etc ? i.e. 30…

jquery padding margin
Auto margins don't center image in page

In this example the image is not centered. Why? My browser is Google Chrome v10 on windows 7, not IE. <…

css google-chrome margin centering
jQuery.css() - marginLeft vs. margin-left?

With jQuery.css() I've been told I can use the following two functions for the same results: $(".element").css("marginLeft") = "200…

jquery css margin
Margin-Top not working for span element?

Can someone tell me what I coded wrong? Everything is working, the only thing is that there is no margin …

css margin html
Margin on child element moves parent element

I have a div (parent) that contains another div (child). Parent is the first element in body with no particular …

css xhtml margin nested
WPF: Grid with column/row margin/padding?

Is it easily possible to specify a margin and/or padding for rows or columns in a WPF Grid? I …

wpf grid padding margin
Using margin / padding to space <span> from the rest of the <p>

Ive got a block of text, and i want to write the authors name and date bellow it in small …

css margin padding html
How do negative margins in CSS work and why is (margin-top:-5 != margin-bottom:5)?

A common trick for vertical positioning elements is to use the following CSS: .item { position:absolute; top:50%; margin-top:-8px; /* …

css margin