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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:59:51+00:00 2026-05-28T02:59:51+00:00

So im trying to style a submit button. The background comes from a transparent

  • 0

So im trying to style a submit button. The background comes from a transparent png sprite file.
When all is said and done the button appears as a white box, and the sprite image isnt loaded.

<input name="Submit" type="submit" value="" class="lp-submit"/>

CSS

.lp-submit {
    vertical-align:middle;
    width:106px; 
    height:47px; 
    background:transparent url(images/bt_sprite.png) no-repeat 0 0;
    border:none;
    cursor:pointer;
}

.lp-submit:hover {
        background:transparent url(images/bt-sprite.png) no-repeat 0 25;
}

The image shows up if “transparent is removed from background:. When its put back in its a white box again.

  • 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-28T02:59:52+00:00Added an answer on May 28, 2026 at 2:59 am

    Check the relative path to your image. CSS looks for relative paths from the folder it is in, not from the document root. And why there is to slashes?

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

Sidebar

Related Questions

I am trying to prevent users from double clicking on the submit button for
I'm trying to style all <select> elements that are a descendant of a <div>
trying to implement a dialog-box style behaviour using a separate div section with all
I'm trying to style a button with the css 'sliding doors' technique, but it
I’m trying to submit a form by clicking links, without using a submit button.
I am trying to submit a zend form. When I click the button to
Have a php form with an image for the submit button. Am trying to
I am trying to style up my input:file. The following SO question gets me
I am trying to style an input-box rendered using jEditable . I want to
I'd trying to style my ComboBoxes to match the rest of the UI but

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.