Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8811281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:19:29+00:00 2026-06-14T03:19:29+00:00

I have some CSS: fieldset { border-radius: 5px; border: 3px solid blue; padding: 5px;

  • 0

I have some CSS:

fieldset {
    border-radius: 5px;
    border: 3px solid blue;
    padding: 5px;
    margin: 0em;
}
legend {
    font-weight: bold;
    color: green;
}
#myform{
    width: 330px;
    margin: 0em;
}
body {
    font-family: Arial, sans-serif;
}

When I embed it with <style>, it works perfectly fine:

The extension with embedded CSS

But when I put the same CSS into a stylesheet and import it using <link>, I get some random whitespace:

The extension with the same CSS, but imported from an external stylesheet with <link>

I have removed the form elements completely, and there is still whitespace (although if I keep them in, there is considerably more of it). I used the Chrome developers console to check form and body height using $(body).css("height") (and the same for the form), and it gives me a number which is way too small to include the whitespace, but seems to match the height if the whitespace is ignored. Where is this coming from?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:19:30+00:00Added an answer on June 14, 2026 at 3:19 am

    This seems to be a bug, when changing the margin of the body back and forth in the developers console it gets right again. Setting this property in the CSS doesn’t have any effect at all.

    A measly workaround would be creating a javascript file for your popup, like popup.js, and then change the margin in there after the popup window is loaded:

    document.addEventListener('DOMContentLoaded', function() {
      document.body.style.margin = '8px';
    });
    

    I took 8px as value because that’s the standard value of a Chrome popup:

    enter image description here

    You should consider reporting this bug to the Chrome issues list.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some CSS like this: #navBar ul { list-style-type:none; margin:0; padding:0; } #navBar
i have this css : .table1 thead th:first-child{ -webkit-border-bottom-right-radius:8px; -webkit-border-top-right-radius:8px; -moz-border-radius:8px 0px 8px 0px;
I have some CSS like so: table.varTabs th { border-collapse: collapse; border-bottom: #637356 2px
I have the following css: fieldset ul li input { width: 96%; margin: 0;
I have some CSS and HTML for horizontal tabs that works perfectly in jsfiddle.
I have some CSS that doesn't behave correctly with IE8. It works fine with
I have some CSS style that does not work in IE and that works
I have some css files that i need to use in RTL direction template.
CSS I have some simple CSS to apply a negative text-indent value on the
I have some questions regarding the following css that I found: html, body {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.