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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:16:08+00:00 2026-06-05T01:16:08+00:00

Hello I am trying to apply CSS to this form: <form action="http://example.com/result.xml" accept-charset="UTF-8" method="get">

  • 0

Hello I am trying to apply CSS to this form:

<form action="http://example.com/result.xml" accept-charset="UTF-8" method="get">
            <div id="search-box">
                Catalog Search:<br />
                <input type="hidden" id="rt" name="rt" value="keyword" />
                <input type="hidden" id="tp" name="tp" value="keyword" />
                <input type="text" alt="Input Box for Catalog Search" maxlength="250" 
                size="20" id="t" name="t" value=""  />
                <input type="hidden" id="ft" name="ft" value="" />
                <input type="hidden" id="l" name="l" value="9" />
                <input type="hidden" id="d" name="d" value="2" />
                <input type="hidden" id="f" name="f" value="" />
                <input type="hidden" id="av" name="av" value="" />
                <input type="submit" value="Search" class="form-submit"  />
            </div>
            </form>

I am trying to style the Search button and also the input fields. I have looked throughout Google search results and this site and have found over and over to use this format for styling the button:

.submit input {
    color      : #000;
    background : #ffa20f;
    border     : 2px outset #d7b9c9;
}

But this is not affecting my Search button at all. How can I reference that button correctly?

  • 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-05T01:16:09+00:00Added an answer on June 5, 2026 at 1:16 am

    Your search button has a class of “form-submit” while your CSS rule is looking for a class of “submit.” If you change your CSS rule to the following, it should target the correct element:

    .form-submit
    {
      color: #000;
      background: #ffa20f;
      border: 2px outset #d7b9c9;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello i was trying to modify an object form the values of another object
Hello I'm trying something .. I was reading Jquery traversing documentations some forums, this
Hello, I'm currently trying to apply the most efficient way to store an extend
hello im trying to set custom errors. i got a form. actions to post.php
Hello – I’m trying to get a where condition to apply to a sub
Hello I'm trying to use protected http socks server with socket module as in
Hello I´m trying to automate AZURE VM management like Amazon EC2. Is there any
Hello im trying to echo only the 50 letters, but something in my code
hello i am trying a sqlite database tutorial to build, but its not working
hello i am trying to load a list of filenames from a folder into

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.