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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:03:51+00:00 2026-06-01T03:03:51+00:00

I am not sure why, but the image actually shows but it has a

  • 0

I am not sure why, but the image actually shows but it has a [x] on top of it as if it is a broken link? The page can be viewed at: http://www.klassaktkreations.com

index.php

<!DOCTYPE HTML>
<html>
<link rel="stylesheet" type="text/css"
 media="screen" href="style.css">

<?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    $message = $_POST['message'];
    $from = 'From: My Website'; 
    $to = 'info@yahoo.com.com'; 
    $subject = 'Website Inquiry';

    $body = "From: $name\n E-Mail: $email\n Message:\n $message";

if ($_POST['submit']) {
    if ($name != '' && $email != '' && $message != '') {
            if (mail ($to, $subject, $body, $from)) {
            echo '<p>Your message has been sent!</p>';
        } else { 
            echo '<p>Something went wrong, go back and try again!</p>'; 
        }
    } else {
        echo '<p>You need to fill in all required fields!!</p>';
    }
}
?>

<head bgcolor="Black">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>My Website Title</title>
</head>

<body bgcolor="Black">

    <header class="body">                          
 <center><img class="home" src="sprite2.png" width="1" height="1"/></center>
    </header>

    <section class="body">
<form method="post" action="">

    <label><strong>Name</strong></label>
    <input type="text" name="name" placeholder="Type Here">

    <label><strong>Email</strong></label>
    <input name="email" type="email" placeholder="Type Here">

    <label><strong>Message</strong></label>
    <textarea name="message" placeholder="Type Here"></textarea>  
    <input id="submit" name="submit" type="submit" value="Submit">

</form>
    </section>

    <footer class="body">
    </footer>

</body>

</html>

style.css – you will notice i am using a sprite with only 3 images for a submit button and a title image.

body {color:white;}

label {
    display:block;
    margin-top:20px;
    letter-spacing:2px;
}

img.home
{
width:230px;
height:119px;
background:url(http://www.klassaktkreations.com/images/sprite2.png) 0px 0px;

}

/* Centre the page */
.body {
    display:block;
    margin:0 auto;
    width:576px;
    background-color:black;
}

/* Centre the form within the page */
form {
    margin:0 auto;
    width:459px;
}

/* Style the text boxes */
input, textarea {
    border:1px solid #97d6eb;
    width:439px;
    height:27px;
    background:#444243;
    border:1px solid #dedede;
    padding:10px;
    margin-top:3px;
    font-size:0.9em;
    /*color:#3a3a3a;*/
    color:#ffffff;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

textarea {
    height:213px;
}

#submit {
    width:146px;
    height:50px;
    background-image: url(http://www.klassaktkreations.com/images/sprite2.png);
    background-position: 0px -129px;
    text-indent:-9999px;
    border:none;
    margin-top:20px;
    cursor:pointer;
}
    #submit:hover {
     background-image: url(http://www.klassaktkreations.com/images/sprite2.png);
    background-position: 0px -189px;
    }
  • 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-01T03:03:52+00:00Added an answer on June 1, 2026 at 3:03 am

    You’re giving your img tag a background image.

    The src of the image tag isn’t loading (hence, the [x]), and the background is loading (hence the image).

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

Sidebar

Related Questions

I am using D-Day calendar and I am not sure but I got a
I am not sure why but jQuery find function is not able to find
I'm not totally sure but this looks wrong: I have a header file named
I know what i want but not sure of the name and required tools
I'm starting out with MVC but not sure it's the best option. I need
I am fairly new to MVC but not sure exactly which Redirect... replaces the
I'm not sure that title is worded very well, but not sure how else
I am not sure where i've seen this before, but im sure that there
I'm trying to debug this problem but not sure where exactly i need to
Not sure if this is a bug in jQuery 1.4.2 - I can't figure

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.