0

I am using gimp designs to style my web pages. For some reason the dimensions are always off between chrome and gimp.

For example a div selected in gimp yields 200x450.

If I enter:

.some_div {
    width: 200px;
    height: 450px;
}

The div that shows up in chrome is always smaller.

Can I enable some feature in gimp to make the exact?

TheOne
  • 10,819
  • 20
  • 81
  • 119

2 Answers2

1

The number of pixels of an image in GIMP is exact. I simply can't be "off by 1" - the file save plug-in, for example, would crash, if it got informed the wrong image size.

Now...pixels as defined for CSS are not that exact - so, it possible the browser is off due to some settings or preferences (like ZOOM) - anyway, post a screenshot along with your question - maybe someone can get a better clue of what is oging on there.

Have you tried simply using another browser to check this issue?

jsbueno
  • 99,910
  • 10
  • 151
  • 209
0

Make a screenshot of your div in chrome and paste it into gimp, so you can get the exact size of it.

Chris Parker
  • 336
  • 3
  • 13