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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:02:33+00:00 2026-05-26T11:02:33+00:00

trying to have some sort of gradiented border by having a parent element have

  • 0

trying to have some sort of gradiented border by having a parent element have the gradient border and then the child element have the regular background.

This seems to screw up in FF but works in Chrome… is there any reason as to why FF adds some sort of extra padding/margin/offset that doesn’t make it entirely 1px padding?

http://jsfiddle.net/32zbD/1/

It’s really annoying cause you’re looking at it in Firebug but the extra part isn’t shown where it comes from at all. It’s just ‘there’.

I’ve tried using CSS reset stylesheets in there as well to try and make the differences minor but its still there!

Got a feeling that its caused by the doctype as on an HTML5 doctype I’ve got it working in FF7 and Chrome. Can’t change the doctype in JSFiddle so can’t really test and share it like that.

  • 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-26T11:02:34+00:00Added an answer on May 26, 2026 at 11:02 am

    Firefox has some internal padding on buttons where it puts the focus outline.

    You probably want to style button::-moz-focus-inner to have no border or padding.

    That said, for the particular case of buttons styling differs in various other ways by OS and browser, so this stuff is not really guaranteed to work…

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

Sidebar

Related Questions

I am trying to have some sort of Data Object (I'm thinking a dictionary)
What I am trying to do is have some sort of script run in
I have a question about reflection I am trying to have some kind of
I have some HTML I am trying to parse. There are cases where the
I have some javascript that I'm trying to retool using jQuery to learn the
I have some XML which I'm trying to search: <debts> <section id=24 description=YYYYY> <section
I have some jquery code which I am trying to translate to YUI. I
I have some old fortran 77 I'm trying to port to gcc on Windows.
I have some data about a day's events that I'm trying to visualise as
I'm trying to get StyleManager to have some effect, to no avail. package {

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.