WolfShield 32 Posting Whiz in Training

I agree with the above posts. My spin on the code would be:

def askUser():
    username = raw_input("Enter your username: ")
    password = raw_input("Enter your password: ")
    checkPass(username, password)

def checkPass(use, pwd):
    if use == "username" and pwd == "password":
        login(use)
    else:
        print "Your username and/or password was incorrect"
        askUser()

def login(use):
    print "Welcome " + use
    print "You have successfully logged in!"
    askCom()

def askCom():
    command = raw_input("Enter your command: ")
    if command == "log off" or command == "quit":
        username = ""
        password = ""
        print "You have logged off"
        askUser()
    else:
        print "Unknown command"
        askCom()

askUser()
WolfShield 32 Posting Whiz in Training

Oracle owns Java.

A good point. Let's never use Java. :P

WolfShield 32 Posting Whiz in Training

What I want is a pic to show on full background. But the image is not displaying. The code I have ( the relevant parts ):

<div id="bg"><img src="welcome.psd" width="100%" height="100%" alt="" /></div>

And the CSS:

#bg
{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

I have the .CSS file linked in the head and the 'welcome.psd' is in the same folder as all of the other files. It just shows a broken image pic.

Hopeful for help,

- WolfShield