Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 6th, 2003, 08:43 AM
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default alignment problem in IE and Mozilla

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\">&nbsp;</td>");
       out.print("<td width=\"20%\" align=\"right\">&nbsp;</td>");
       out.print("<td width=\"15%\" align=\"left\">&nbsp;</td>");
       out.print("</tr>");
       out.print("</table>");
       out.print("</LEGEND>");
       out.print("</FIELDSET>");



What can i do for that?
 
Old November 14th, 2003, 12:38 PM
Authorized User
 
Join Date: Jul 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old November 17th, 2003, 08:37 AM
Authorized User
 
Join Date: Oct 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I removed that line and tried.
but there is no effect.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with using AJAX in Mozilla vinay.sindri XML 2 January 25th, 2008 10:30 AM
The Mozilla & IE Problem webnitro HTML Code Clinic 8 January 19th, 2006 09:30 PM
Pivot Table dataaxis Alignment Problem -Urgent vinod_yadav1919 Javascript How-To 0 April 11th, 2005 04:52 AM
Table Alignment Problem gokul_blr HTML Code Clinic 1 August 25th, 2004 05:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.