|
Subject:
|
alignment problem in IE and Mozilla
|
|
Posted By:
|
rpalanivelu
|
Post Date:
|
11/6/2003 7:43:35 AM
|
Hello, In my application i used <FIELDSET> and <LEGEND> tag. But, the alignment is different between IE browser and Mozilla browser.
Here the sample code.
out.print("<FIELDSET>"); out.print("<LEGEND class=\"THBGColor\">API DETAILS</LEGEND>"); out.print("<table border=\"0\" width=\"100%\" >"); out.print("<tr class=\"THBGColor\">"); out.print("<td width=\"30%\" align=\"left\">API ID</td>"); out.print("<td width=\"20%\" align=\"right\">CONTENT</td>"); out.print("<td width=\"15%\" align=\"left\">UOM</td>"); out.print("<tr class=\"TDBGWhite\" border=\"2\">"); out.print("<td width=\"30%\" align=\"left\"> </td>"); out.print("<td width=\"20%\" align=\"right\"> </td>"); out.print("<td width=\"15%\" align=\"left\"> </td>"); out.print("</tr>"); out.print("</table>"); out.print("</LEGEND>"); out.print("</FIELDSET>");
What can i do for that?
|
|
Reply By:
|
markhardiman
|
Reply Date:
|
11/14/2003 11:38:20 AM
|
i am not too sure but you are closing the LEGEND tag twice, remove the second last line and see if that makes a diference Slán ~M
Mark Hardiman Senior Developer Kernel Software Ltd
|
|
Reply By:
|
rpalanivelu
|
Reply Date:
|
11/17/2003 7:37:01 AM
|
I removed that line and tried. but there is no effect.
|