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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:03:18+00:00 2026-06-04T12:03:18+00:00

I have some HTML/CSS which is working perfectly in Firefox; however, in Chrome, the

  • 0

I have some HTML/CSS which is working perfectly in Firefox; however, in Chrome, the form/border is being squeezed! I have been playing with the code for hours to no avail. Can anyone please help? Thanks!

Here is the fiddle: http://jsfiddle.net/W22DC/19/

Or if you prefer, the code is below…

The CSS:

.form1 input{
font-weight:normal;
font-size:100%;
border: 2px solid purple;
-moz-border-radius:15px;
-khtml-border-radius:15px;
-webkit-border-radius:15px;
border-radius:15px 15px 15px 15px;
background-color:transparent;    
padding: 2px 6px 2px 6px;
}
.form1 input:hover, input:focus{
border: 2px solid black;
cursor:pointer;
}

The HTML:

<br />
<div class="form1" align="center"><form name="Example" action="" method="post" style="margin-bottom: 0">
<input type="submit" name="submit" value="7" />
</form></div>
<br />
  • 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-04T12:03:20+00:00Added an answer on June 4, 2026 at 12:03 pm

    It’s a known chrome bug on inputs and you can’t have a border-radius that adds up to more than the height of the element. If you want it perfectly round then make sure the dimensions are exact.

    e.g.
    Code:

    .form1 input{
        font-weight:normal;
        font-size:100%;
        border: 2px solid purple;
        -moz-border-radius:15px;
        -khtml-border-radius:15px;
        -webkit-border-radius:15px;
        border-radius:15px;
        background-color:transparent;        
        padding:0;
        height:30px;
        width:30px;
        line-height:28px;
        text-align:center;
    }
        .form1 input:hover, input:focus{
        border: 2px solid black;
        cursor:pointer;
    }
    

    For a 15px border-radius you need an element that must be at least 30px x 30px.

    Credit goes to Paul.

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

Sidebar

Related Questions

I do html/css by trade, and I have been working on and off django
I've been working for some time on my first website. I have the CSS
I have some html files with their own css. I want to use them
I have some HTML Code: <html> <head> <title>css test</title> <style type=text/css> .box{width:100%;float:left;background:red} </style> </head>
I have HTML + CSS text. I need some lib with simple function like
I was checking out some of Amazon 's CSS and noticed they have HTML
I have this html: <div class=foo parent> <div class=child></div> </div> with some css: .foo{
I have been working on a Java project in which the reports will be
I have a simple CSS help popup that's been working well for me in
i have form that has multiple input text boxes, Which has got some text

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.