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 7415715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:21:21+00:00 2026-05-29T07:21:21+00:00

If I remove the border-radius property, Chrome displays the whole background in gray. When

  • 0

If I remove the border-radius property, Chrome displays the whole background in gray. When I add border-radius, the page background turns white. This is only Chrome/webkit specific. The page works fine with gray background everywhere in Firefox/Opera/IE. Any ideas why?

http://devio.us/~hara/test.html

  • 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-05-29T07:21:22+00:00Added an answer on May 29, 2026 at 7:21 am

    Interesting problem. @Zlatev is definitely right, you should probably your styles to a <div> within the <html> and <body> tags.

    I tried playing around with it, and I found that if you put the background on the <body> tag it still overflows to fill the entire page, however if you specify the background for the <body> tag and then declare the <html> tag to have a different background (say, white), it look like you were hoping it would.

    <!doctype html>
    <head>
    <link rel="shortcut icon" type="image/x-icon" href="faviconNoFap.ico" />
    <style type="text/css">
    html {
        background: white;
    }
    body {
        width: 760px;
        margin: 55px auto 0 auto;
        border: solid 1px;
        font-family: Hoefler;
        background: #e4e4e4;
    
    }
    h2 {
        margin-top: 0.5em;
        border-bottom: dotted 1px;
        font-family: Helvetica, sans-serif;
    }
    
    </style>
    <title>Test title of a test web-page</title>
    </head>
    <body>
    
    <h2>Heading Heading Heading Heading</h2>
    
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    
    
    <h2>Heading Heading Heading Heading</h2>
    
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    <p>Text text text text text text text text text.</p>
    
    
    
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Google Chrome is acting buggy using border-radius, background color, and top and bottom borders.
Possible Duplicate: How to remove border around text/input boxes? (Chrome) Is there a way
How can I remove the border around an <input type=text> and make its background
How to remove the round edges (border-radius) from the particular element or from div
#search-box { -moz-border-radius-bottomleft:0px; -moz-border-radius-bottomright:0px; background-color:#ffffff; border:0px solid #CCCCCC; float:right; padding:8px; position:relative; top:0; width:20em; }
I would like to remove border on a gtk.Button and also set its size
I am trying to create a css menu. I would like to remove border
How would I remove the border from an iframe embedded in my web app?
win32 windows application and want to capture full screen and remove the border of
I'm working with the textarea element in HTML and want to remove the border

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.