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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:49:36+00:00 2026-06-05T19:49:36+00:00

my problem is the following: This is a part of my HTML-Code: <form method=’GET’

  • 0

my problem is the following:

This is a part of my HTML-Code:

<form method='GET' name='auftragaufgeben' action='AuftragAufgeben'>
    <input  type='submit' name='auftragaufgeben2' value='Auftrag aufgeben'>
    <input type='hidden' name='logged' value='logged'>
</form>

No i want a design for the button with the help of css. This is the code:

a.auftragaufgeben {
display: block;
background-image: url(AuftragAufgeben.png);
width: 467px;
height: 104px;
}

a.auftragaufgeben:hover {
background-image: url(AuftragAufgeben_Hover.png);
}

I found that the declaration of the class in the button tag should work, for example this:

<form method='GET' name='auftragaufgeben' action='AuftragAufgeben'>
<input  class="auftragaufgeben" type='submit' name='auftragaufgeben2' value='Auftrag aufgeben'>
    <input type='hidden' name='logged' value='logged'>
</form>

But this doesn’t change anything.
How can change the layout of the button to the picture i declared in the CSS part?
Or is there another way to start the form when i click the picture?

Kind regards

  • 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-05T19:49:38+00:00Added an answer on June 5, 2026 at 7:49 pm

    in your css, the code a.auftragaufgeben and a.auftragaufgeben:hover are for styling a link element, not the button.

    try

    .auftragaufgeben {
        display: block;
        background-image: url(AuftragAufgeben.png);
        width: 467px;
        height: 104px;
    }
    
    .auftragaufgeben:hover {
        background-image: url(AuftragAufgeben_Hover.png);
    }
    

    UPDATE

    Your final html code should look like this:

    <html>
        <head>
            <style>
                .auftragaufgeben {
                    display: block;
                    background-image: url(AuftragAufgeben.png);
                    width: 467px;
                    height: 104px;
                }
                .auftragaufgeben:hover {
                    background-image: url(AuftragAufgeben_Hover.png);
                }
            </style>
        </head>
        <body>
            <form method='GET' name='auftragaufgeben' action='AuftragAufgeben'>
                <input  class="auftragaufgeben" type='submit' name='auftragaufgeben2' value='Auftrag aufgeben'>
                <input type='hidden' name='logged' value='logged'>
            </form>
        </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need help on this following code. the problem is it only trigger the last
Never thought I'd have this problem :) The following snippet of code works in
I'm having following problem. I should convert a control to a certain type, this
This is a code review question more then anything. I have the following problem:
I'm getting a strange nil problem with the following code. The view (part of
I have this following problem: I have two tables 1 table for customer bought
I have been working on the following problem from this book . A certain
I'm having the following problem and wondered whether anyone could see why this is
I have the following problem. I am making this website you can see in
Hello i have the following problem, I record a video using red5 like this:

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.