Unneeded 5px at bottom of popup
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Boohle <booboo... @gmail.com>
Date: Sat, 16 Jan 2010 01:28:11 -0800 (PST)
Local: Sat, Jan 16 2010 4:28 am
Subject: Unneeded 5px at bottom of popup
For example I puted image into popup, set BODY background color to
red, all paddings and margins to 0px, but BODY is 5px higher than
image and I see 5 px red line (background color) under image at bottom
of popup, I can cover this space with any absolutely positioned
element, but I just want to remove these unneeded 5 pixels. My Chrome
is ver. 4.0.249.64. Here is screenshot:
http://boohle.com/chrome/padding-bottom-5px.jpg
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
hexid <nick.curr... @gmail.com>
Date: Sat, 16 Jan 2010 09:06:34 -0800 (PST)
Local: Sat, Jan 16 2010 12:06 pm
Subject: Re: Unneeded 5px at bottom of popup
have you tried adding some styling to remove it??
without some of the code it is hard to say what the problem is...but you can try
<style> img {padding-bottom: 0px;} body {padding-bottom: 0px;} </style>
and put that in your html file...
On Jan 16, 2:28 am, Boohle <booboo... @gmail.com> wrote:
> For example I puted image into popup, set BODY background color to
> red, all paddings and margins to 0px, but BODY is 5px higher than
> image and I see 5 px red line (background color) under image at bottom
> of popup, I can cover this space with any absolutely positioned
> element, but I just want to remove these unneeded 5 pixels. My Chrome
> is ver. 4.0.249.64. Here is screenshot:
http://boohle.com/chrome/padding-bottom-5px.jpg
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Ilias <illy... @hotmail.com>
Date: Sat, 16 Jan 2010 09:30:04 -0800 (PST)
Local: Sat, Jan 16 2010 12:30 pm
Subject: Re: Unneeded 5px at bottom of popup
I think your background-color is red, and your image is 5px smaller
than the body. Try to make the body smaller or the image bigger. It
would be great to see some code.
On Jan 16, 10:28 am, Boohle <booboo... @gmail.com> wrote:
> For example I puted image into popup, set BODY background color to
> red, all paddings and margins to 0px, but BODY is 5px higher than
> image and I see 5 px red line (background color) under image at bottom
> of popup, I can cover this space with any absolutely positioned
> element, but I just want to remove these unneeded 5 pixels. My Chrome
> is ver. 4.0.249.64. Here is screenshot:
http://boohle.com/chrome/padding-bottom-5px.jpg
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Boohle <booboo... @gmail.com>
Date: Sat, 16 Jan 2010 12:02:34 -0800 (PST)
Local: Sat, Jan 16 2010 3:02 pm
Subject: Re: Unneeded 5px at bottom of popup
My popup-code is:
<!DOCTYPE html> <html> <head> <style> html {margin:0px; padding:0px;} body { margin:0px; padding:0px; background-color:red;} img { margin:0px; padding:0px; border:none;} </style> <body> <img src="http://www.mydomain.com/myimage.jpg " /> </body> </html>
But always I have 5 pixels space under image (red background is shown), if I put <img> twice, red line is seen under each of images.
Now I found solution by adding style="display:block" to <img> and these 5 pixels are removed :)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Hejazi <mohamma... @gmail.com>
Date: Sat, 16 Jan 2010 14:14:50 -0800 (PST)
Local: Sat, Jan 16 2010 5:14 pm
Subject: Re: Unneeded 5px at bottom of popup
And sometimes you need to add style="white-space: nowrap".
On Jan 16, 10:02 pm, Boohle <booboo... @gmail.com> wrote:
> My popup-code is:
> <!DOCTYPE html> > <html> > <head> > <style> > html {margin:0px; padding:0px;} > body { margin:0px; padding:0px; background-color:red;} > img { margin:0px; padding:0px; border:none;} > </style> > <body> > <img src="http://www.mydomain.com/myimage.jpg " /> > </body> > </html>
> But always I have 5 pixels space under image (red background is > shown), if I put <img> twice, red line is seen under each of images.
> Now I found solution by adding style="display:block" to <img> and > these 5 pixels are removed :)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
krtulmay <krtul... @gmail.com>
Date: Mon, 18 Jan 2010 10:17:18 -0800 (PST)
Local: Mon, Jan 18 2010 1:17 pm
Subject: Re: Unneeded 5px at bottom of popup
Thanks, Boohle, for the code. I confirm the bug of the extra space
at the bottom.
You should file a bug at http://new.crbug.com
On Jan 16, 2:14 pm, Hejazi <mohamma... @gmail.com> wrote:
> And sometimes you need to add style="white-space: nowrap".
> On Jan 16, 10:02 pm, Boohle <booboo... @gmail.com> wrote:
> > My popup-code is:
> > <!DOCTYPE html> > > <html> > > <head> > > <style> > > html {margin:0px; padding:0px;} > > body { margin:0px; padding:0px; background-color:red;} > > img { margin:0px; padding:0px; border:none;} > > </style> > > <body> > > <img src="http://www.mydomain.com/myimage.jpg " /> > > </body> > > </html>
> > But always I have 5 pixels space under image (red background is > > shown), if I put <img> twice, red line is seen under each of images.
> > Now I found solution by adding style="display:block" to <img> and > > these 5 pixels are removed :)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
krtulmay <krtul... @gmail.com>
Date: Mon, 18 Jan 2010 10:41:50 -0800 (PST)
Local: Mon, Jan 18 2010 1:41 pm
Subject: Re: Unneeded 5px at bottom of popup
Would this be related to:
Regression: Extension popups don't shrink again (on Windows) http://code.google.com/p/chromium/issues/detail?id=30291
although I have this problem on Linux Dev 4.0.295.0 as well.
On Jan 18, 10:17 am, krtulmay <krtul... @gmail.com> wrote:
> Thanks, Boohle, for the code. I confirm the bug of the extra space
> at the bottom.
> You should file a bug athttp://new.crbug.com
> On Jan 16, 2:14 pm, Hejazi <mohamma... @gmail.com> wrote:
> > And sometimes you need to add style="white-space: nowrap".
> > On Jan 16, 10:02 pm, Boohle <booboo... @gmail.com> wrote:
> > > My popup-code is:
> > > <!DOCTYPE html> > > > <html> > > > <head> > > > <style> > > > html {margin:0px; padding:0px;} > > > body { margin:0px; padding:0px; background-color:red;} > > > img { margin:0px; padding:0px; border:none;} > > > </style> > > > <body> > > > <img src="http://www.mydomain.com/myimage.jpg " /> > > > </body> > > > </html>
> > > But always I have 5 pixels space under image (red background is > > > shown), if I put <img> twice, red line is seen under each of images.
> > > Now I found solution by adding style="display:block" to <img> and > > > these 5 pixels are removed :)
You must
Sign in before you can post messages.
You do not have the permission required to post.