Questions tagged [gaps-in-visuals]

refers to blank, white, or empty areas in webpages, images, GUIs, etc.

61 questions
30
votes
4 answers

Space between div and img?

I have code like this:

1. Orange

some text in here

There's…
fomicz
  • 1,752
  • 7
  • 25
  • 33
16
votes
7 answers

Gap at top of page despite margin:0 and padding: 0

There's a 32px gap at the top of my site, despite setting margins and paddings to 0. I know it's 32px because I can fix it with padding: -32px. But then I have a gap at the bottom! In Firebug, it seems the body only start 32px down from the…
MrB
  • 2,155
  • 7
  • 27
  • 33
10
votes
5 answers

spark form item gap in Flex

Is there a way to change the space between a spark form item and its content(textinput, conbobox)? I already set to 0 the "gap" property of the form, but still there is a lot of vertical space left between the form inputs.
cili
  • 1,037
  • 2
  • 19
  • 34
8
votes
2 answers

How do I dynamically create a collage (grid with no gaps) of images, where images have different heights?

I want to display a page of thumbnails. The thumbnails are user uploaded artwork images. Each image has a constrained width, but not a constrained height, this is to show the full image without any cropping. I want the images to butt up against…
Homan
  • 25,618
  • 22
  • 70
  • 107
8
votes
2 answers

Gap between
  • s
  • To avoid long lists I've got my li set to float: left so that they alternate rows. However, on occasion this causes an unintentional gap between elements when the content in a li takes up two lines. My HTML is:
    Eva
    • 81
    • 1
    7
    votes
    1 answer

    How to force zero pixel Gap between Consecutive Cells in WPF DataGrid

    i am building an application in WPF for a custom need. First i opted for custom controls, but later on figured out that much of what i needed was already implemented in Datagrid Control. However there is one small glitch: The problem with Datagrid…
    6
    votes
    2 answers

    WPF tab control spacing between headers

    The default behavior of the WPF Tabcontrol is to place the Tab Headers adjacent to each other, without any empty space in between. What if I wanted to specify a gap between the headers? Do I have to define a control template for this? I'm…
    Bojin Li
    • 5,769
    • 2
    • 24
    • 37
    5
    votes
    2 answers

    Create barchart using jfreechart with bars of same category together

    I want to make bar chart using jfreechart such that the bars which belong to the same category should be displayed adjacent without any gaps. The categories should be displayed with gaps. Also each category may have different number of bars. How it…
    javdev
    • 794
    • 2
    • 10
    • 23
    5
    votes
    2 answers

    Java FlowLayout - Margin/padding of specific elements?

    I am very new to Swing, and I'm trying to make a GUI. Using Netbeans' GUI creator thing, I managed to make something I liked. But it makes me feel bad that I used the editor for this, so now I am trying to make the same design using code. Here is a…
    Jacob Brunson
    • 1,482
    • 4
    • 23
    • 37
    4
    votes
    8 answers

    How to remove the gap between div in html?

    I am stuck with this problem and not able to come out of this. Please help me. In my webpage, I have used 3 divs inside a container div.I am trying to remove the unwanted gap between the div. (1)Top bg image (2)Middle bg image (3)Bottom bg…
    Gendaful
    • 5,522
    • 11
    • 57
    • 76
    3
    votes
    3 answers

    Java Swing Gridlayout VERTICAL constraint

    Is it possible to add components in a Gridlayout verticaly ? I mean the next one above the previous one ? Thank you
    Vincent Roye
    • 2,751
    • 7
    • 33
    • 53
    3
    votes
    5 answers

    Pixel gap in ie

    I have four Div placed using absolute positioning, each of them is a border of a rectangle they form once grouped together, in order to look like if a Dom element on the page is selected (this mimic the css border behavior using Div as…
    Bite code
    • 578,959
    • 113
    • 301
    • 329
    3
    votes
    3 answers

    Why, when I center an image in a div with line-height, does a 3px gap appear at the top?

    Have a look at this page. The images on the right should be centered within their divs. But if you look closely, there's a small border of around 3 pixels at the top. And if you disable the overflow: hidden (through firebug or the IE8 equivalent),…
    Eric
    • 95,302
    • 53
    • 242
    • 374
    3
    votes
    3 answers

    How to remove vertical gap between two cells in MigLayout?

    Very simple question: How can I remove the vertical gap between the two cells containing the two JCheckBox? I have marked the gap in the picture with a red border. And here is the code: import javax.swing.JButton; import…
    brimborium
    • 9,362
    • 9
    • 48
    • 76
    3
    votes
    4 answers

    how to remove the gap between the inline-block elements

    .item-list { letter-spacing: -0.3em; } .item-list a { letter-spacing: 0; display: inline-block; }
    a a a a
    only in win ie6,the…
    timezhong
    • 71
    • 2
    • 7
    1
    2 3 4 5