(e-mail address removed) schreef:
Hi,
jsps means Java Server Pages?
If so: It doesn't matter which language created the html.
The only thing that matters is the HTML send to your browser.
So simply view the source, find the imagetags, and try to find out what
is wrong.
You might want to validate your HTML too, and make sure it is valid.
Here:
http://validator.w3.org/
Regards,
Erwin Moller
ya jsp means java server pages.........
my problem is that image comes fine on IE but on mozilla it comes only
half..........not full image is displayed..
my code in jsp is:
<?xml version="1.0" encoding="UTF-8"?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script language="JavaScript" src="Login.js">
</script>
<!-- Linking of the Style sheet Commonstyle.css -->
<link rel="stylesheet" type="text/css" href="../css/commonstyle.css">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>LOGIN-SNAKE AND LADDER</title>
</head>
<body onload="setFocus()">
<h2><center><font face="Comic Sans MS" color="green" size=8>Snake And
Ladder</font></center></h2>
<h2><center><font face="Comic Sans MS" color="black"
size=5>LOGIN</font></center></h2>
<!-- Creating a form with name frm -->
<form name="LoginForm" action="../LoginServlet" method="post">
<!-- Creating a Table -->
<table width="35%" height="45%" align="center" background=".../
images/createGame.jpg">
<!-- Inserting values and texfeilds and buttons into the
table -->
<tr>
<td align="center">UserName<span class="mandatory">*</
span></td>
<td align="center"><input type="text" name="userName"
maxlength="11" id="uName"></td>
</tr>
<tr>
<td align="center">Password<span class="mandatory">*</
span></td>
<td align="center"> <input type="password" name="password"
maxlength="11"></td>
</tr>
<tr>
<td align="center"><input type="submit" VALUE="Submit"
onClick="return fnLoginValidate()"></td>
<td align="center"><input type="reset" VALUE="Reset"></td>
</tr>
<!--Close of table tag -->
</table>
<h1><center><font size="1">Fields marked with * are
mandatory</font></center></h1>
<a href="NewUser.jsp"><center>New User Click Here!<center></
a>
<!--Close of form tag -->
</form>
</body>
</html>