Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unneeded 5px at bottom of popup
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
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:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Boohle  
View profile  
 More options Jan 16 2010, 4:28 am
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hexid  
View profile  
 More options Jan 16 2010, 12:06 pm
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ilias  
View profile  
 More options Jan 16 2010, 12:30 pm
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boohle  
View profile  
 More options Jan 16 2010, 3:02 pm
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.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hejazi  
View profile  
 More options Jan 16 2010, 5:14 pm
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
krtulmay  
View profile  
 More options Jan 18 2010, 1:17 pm
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
krtulmay  
View profile  
 More options Jan 18 2010, 1:41 pm
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »