Question

HTML errors for using fieldset tag?

Asked by: g46905

I am getting No Start Tag <fieldset> and also invalid location of Tag for fieldset in the code below.

<filedset>
<legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
 
 
 
<tr> <td><table  ><th align=center > Action </th><tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr><tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr><tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr><tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
					style="background-color: #CCCC99"></td></tr></table>
		<INPUT type="button" value="    EXIT     " onclick="return logoff()"
			style="background-color: #CCCC99"></td>       
 
 
 
 
 <td><table  >
       	<tr> 
<filedset>
	<legend align="center"><b>Search Constraints</b></legend>
		<td><table >
			<tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>	
			<tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
                        <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
 
 
			
 
 
                         <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left ><select  name=sprofile  size="1" disabled = "true" > 
								<% 
									for (int i=0; i< p.length; i++) {
                                                                                                         
													  String val=p[i];
                                                                                                          String $1 = "\"";       
                                                                                                                        
														
														out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                                                                                                        }  
 
								%>
						</select></td></tr>  
 
			<tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
		</table></td>
 
 
		
 
 
 
		<td><table >
			<tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>	
			<tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
			<tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td><select  name=sgroup  size="1" disabled="true" value="DEFAULT">
                                                                     <% 
									for (int i=0; i< g.length; i++) {
                                                                                                          String flag="";
													  String val=g[i];
 
														
														out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                                                                                                        }  
 
								     %>
                                                                        
								</select></td></tr>
			<tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
                        <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
                        
		</table></td>
 
	</tr>
        </table>
</td>
	</fieldset>
 
 
</tr>
</fieldset>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-16 at 14:46:06ID24656810
Tags

No Start Tag <fieldset> and also invalid location of Tag for fieldset

Topics

Web Servers

,

Hypertext Markup Language (HTML)

,

Scripting Languages

Participating Experts
3
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Fieldset problem in IE
    I have two columns side by side with legends on a JSP page. The layout is like the following. In Mozilla the display is proper. But in IE there are two more fieldset boxes that are appearing out of no where. If I comment the outer boxes with legends mentioned on them, the...
  2. Having Fieldset/Legend tags inside a Reapter
    I want this section of the Reapter to be like this example: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_fieldset See how the height/weight are * INSIDE* that box. I want to do the same with my Reapter. But mine all comes on the same line, nothing inside the box:...
  3. Fieldset and Legend tags without form?
    Will I break any web standards if I use the Fieldset and Legend tags without using them inside a Form tag? I'd like to achieve the same look that it gives but without using the form tags.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: cxrPosted on 2009-08-16 at 15:21:30ID: 25110700

You have misspelled the fieldset start tags in lines 1 and 16: <filedset>

You can not have a <fieldset> within a <tr> element. You can put it within the <td> element instead.

 

by: g46905Posted on 2009-08-17 at 06:43:40ID: 25114300

I have correct the spell mistake....What < td> element are you referring to in the about code?

 

by: mplungjanPosted on 2009-08-17 at 06:49:19ID: 25114361

Your html is completely illegal

You have

<fieldset>
<tr>
<fieldset>
<td>

You cannot have anything between tr and td and only table related tags between table and tr

 

by: g46905Posted on 2009-08-17 at 06:53:07ID: 25114416

Can you send me the corrected html so that I can compare and figure where I went wrong?

 

by: mplungjanPosted on 2009-08-17 at 07:05:38ID: 25114551

Your design is not easy to fix not knowing how it should look when correct

 

by: cxrPosted on 2009-08-17 at 07:37:37ID: 25114820

>> What < td> element are you referring to

The closest, just move the <fieldset> so that it is within <td> </td>, not outside of it. Something like this:

<tr>
  <td>
    <fieldset>
    <legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
    <table>
      <tr><th align="center"> Action </th></tr>
      <tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr>
      <tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr>
      <tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
                                        style="background-color: #CCCC99"></td></tr></table>
                <INPUT type="button" value="    EXIT     " onclick="return logoff()"
                        style="background-color: #CCCC99">
    </fieldset>
  </td>
  <td>
    <fieldset>
    <legend align="center"><b>Search Constraints</b></legend>
    <table>
      <tr><td><table>
         <tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>
         <tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
         <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
         <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left ><select  name=sprofile  size="1" disabled = "true" > 
                                                                <% 
                                                                        for (int i=0; i< p.length; i++) {
                                                                                                         
                                                                                                          String val=p[i];
                                                                                                          String $1 = "\"";       
                                                                                                                        
                                                                                                                
                                                                                                                out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                                                                                                        }  
 
                                                                %>
                                                </select></td></tr>
         <tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
       </table>
       </fieldset>
    </td>
    <td><table >
                        <tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>     
                        <tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
                        <tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td><select  name=sgroup  size="1" disabled="true" value="DEFAULT">
                                                                     <% 
                                                                        for (int i=0; i< g.length; i++) {
                                                                                                          String flag="";
                                                                                                          String val=g[i];
 
                                                                                                                
                                                                                                                out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                                                                                                        }  
 
                                                                     %>
                                                                        
                                                                </select></td></tr>
                        <tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
                        <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
                        
                </table></td>
 
        </tr>
        </table>
</td> 
</tr>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:

Select allOpen in new window

 

by: mplungjanPosted on 2009-08-17 at 07:41:41ID: 25114872

I doubt that is how it should look ;)

 

by: g46905Posted on 2009-08-17 at 07:45:09ID: 25114900

mplungian - Since you doubt....can you send me what you think it should look like....so that we all can learn from you:-)

 

by: mplungjanPosted on 2009-08-17 at 07:48:18ID: 25114930

No please send US what YOU want it to look like and WE will try to force your html into it.

I was commenting on the result of moving the fieldsets around and it does not look like something you intended if I am not mistaken (If it does look like you wanted, then ignore my previous comment):

 

by: cxrPosted on 2009-08-17 at 07:57:43ID: 25115034

I think this is correct:

<tr>
  <td>
    <fieldset>
    <legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
    <table>
      <tr><th align="center"> Action </th></tr>
      <tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr>
      <tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr>
      <tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
                                        style="background-color: #CCCC99"></td></tr>
    </table>
    <INPUT type="button" value="    EXIT     " onclick="return logoff()"
                        style="background-color: #CCCC99">
    </fieldset>
  </td>
  <td>
    <fieldset>
    <legend align="center"><b>Search Constraints</b></legend>
    <table>
      <tr>
        <td>
          <table>
            <tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left >
              <select  name=sprofile  size="1" disabled = "true" > 
              <% 
                for (int i=0; i< p.length; i++) {
                  String val=p[i];
                  String $1 = "\"";       
                  out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                }  
              %>
              </select></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
          </table>
        </td>
        <td>
          <table >
            <tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>     
            <tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
            <tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td>
              <select  name=sgroup  size="1" disabled="true" value="DEFAULT">
              <% 
                for (int i=0; i< g.length; i++) {
                  String flag="";
                  String val=g[i];
                  out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                }  
              %>
              </select></td></tr>
            <tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
            <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
          </table>
        </td> 
      </tr>
    </table>
    </fieldset>
  </td> 
</tr>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:

Select allOpen in new window

 

by: g46905Posted on 2009-08-17 at 07:59:46ID: 25115060

I have attached what I am expecting...

<form name="fsearch" method="POST" action="PerformSearch.jsp" target="frameResults">
<center>
<input type="hidden" name="sortkey" value="name" size="20">
<table border="1"  bordercolor="#000000">
 
 
<fieldset>
<legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
 
 
 
<tr> <td><table  ><th align=center > Action </th><tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr><tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr><tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr><tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
					style="background-color: #CCCC99"></td></tr></table>
		<INPUT type="button" value="    EXIT     " onclick="return logoff()"
			style="background-color: #CCCC99"></td>       
 
 
 
 
 <td><table  >
       	<tr><td><fieldset>
	    <legend align="center"><b>Search Constraints</b></legend>
       	<table >
			<tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>	
			<tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
                        <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
 
 
			
 
 
                         <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left ><select  name=sprofile  size="1" disabled = "true" > 
								<% 
									for (int i=0; i< p.length; i++) {
                                                                                                         
													  String val=p[i];
                                                                                                          String $1 = "\"";       
                                                                                                                        
														
														out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                                                                                                        }  
 
								%>
						</select></td></tr>  
 
			<tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
		</table></td>
 
 
		
 
 
 
		<td><table >
			<tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>	
			<tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
			<tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td><select  name=sgroup  size="1" disabled="true" value="DEFAULT">
                                                                     <% 
									for (int i=0; i< g.length; i++) {
                                                                                                          String flag="";
													  String val=g[i];
 
														
														out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                                                                                                        }  
 
								     %>
                                                                        
								</select></td></tr>
			<tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
                        <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
                        
		</table></td>
 
	</tr>
        </table>
</fieldset>
</td>
 
</tr>
</fieldset>
	
</table>
</center>
 
</form>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:

Select allOpen in new window

 

by: cxrPosted on 2009-08-17 at 08:01:02ID: 25115077

mplungjan, if you enclose the snippet in <table></table> tags your result should be closer to mine... :)

 

by: cxrPosted on 2009-08-17 at 08:18:02ID: 25115269

ok... you want the first fieldset to enclose the entire form? Then move it outside of everything, like below. Note that I also included enclosing <table></table> tags:

<fieldset>
<legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
<table>
<tr>
  <td>
    <table>
      <tr><th align="center"> Action </th></tr>
      <tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr>
      <tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr>
      <tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
                                        style="background-color: #CCCC99"></td></tr>
    </table>
    <INPUT type="button" value="    EXIT     " onclick="return logoff()"
                        style="background-color: #CCCC99">
  </td>
  <td>
    <fieldset>
    <legend align="center"><b>Search Constraints</b></legend>
    <table>
      <tr>
        <td>
          <table>
            <tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left >
              <select  name=sprofile  size="1" disabled = "true" > 
              <% 
                for (int i=0; i< p.length; i++) {
                  String val=p[i];
                  String $1 = "\"";       
                  out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                }  
              %>
              </select></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
          </table>
        </td>
        <td>
          <table >
            <tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>     
            <tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
            <tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td>
              <select  name=sgroup  size="1" disabled="true" value="DEFAULT">
              <% 
                for (int i=0; i< g.length; i++) {
                  String flag="";
                  String val=g[i];
                  out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                }  
              %>
              </select></td></tr>
            <tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
            <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
          </table>
        </td> 
      </tr>
    </table>
    </fieldset>
  </td> 
</tr>
</table>
</fieldset>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:

Select allOpen in new window

 

by: g46905Posted on 2009-08-17 at 11:09:15ID: 25116778

I have copied and pasted it ( as below ) and I am getting invalid location of tag <fieldset>

<form name="fsearch" method="POST" action="PerformSearch.jsp" target="frameResults">
<center>
<input type="hidden" name="sortkey" value="name" size="20">
 
<fieldset>
<legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
<table>
<tr>
  <td>
    <table>
      <tr><th align="center"> Action </th></tr>
      <tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr>
      <tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr>
      <tr><td><INPUT type="button" value="  After    " onclick="return view(2)"
                                        style="background-color: #CCCC99"></td></tr>
    </table>
    <INPUT type="button" value="    EXIT     " onclick="return logoff()"
                        style="background-color: #CCCC99">
  </td>
  <td>
    <fieldset>
    <legend align="center"><b>Search Constraints</b></legend>
    <table>
      <tr>
        <td>
          <table>
            <tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="true" ></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="true" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="true" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0></a><font size="1" color=#808080> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left >
              <select  name=sprofile  size="1" disabled = "true" > 
              <% 
                for (int i=0; i< p.length; i++) {
                  String val=p[i];
                  String $1 = "\"";       
                  out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
                }  
              %>
              </select></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="true" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="true" style="background-color:#FFFFCC" >Outbound</td></tr>
          </table>
        </td>
        <td>
          <table >
            <tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="true"  ></td></tr>     
            <tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="true"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="true" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
            <tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td>
              <select  name=sgroup  size="1" disabled="true" value="DEFAULT">
              <% 
                for (int i=0; i< g.length; i++) {
                  String flag="";
                  String val=g[i];
                  out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
                }  
              %>
              </select></td></tr>
            <tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="true" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="true" style="background-color:#FFFFCC" >Failed</td></tr>
            <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
          </table>
        </td> 
      </tr>
    </table>
    </fieldset>
  </td> 
</tr>
</table>
</fieldset> 
 
	

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:

Select allOpen in new window

 

by: mplungjanPosted on 2009-08-17 at 12:15:06ID: 25117425

 

by: cxrPosted on 2009-08-17 at 12:29:03ID: 25117564

>> I am getting invalid location of tag <fieldset>

What do you mean, where are you getting this?

 

by: mplungjanPosted on 2009-08-18 at 00:43:50ID: 25120779

this one ALMOST validates - there is an issue with the align="center" on the legend

Errors found before:
All disabled="true" has to be "disabled="disabled"
No value allowed on a select
Missing < /center > on the deprecated < center > tag
missing /form

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>bla</title></head>
<body>
<form name="fsearch" method="POST" action="PerformSearch.jsp" target="frameResults">
<input type="hidden" name="sortkey" value="name" size="20">
 
<fieldset>
<legend align="center"><b><u><font color="#990000" >Search Criteria</font></u></b></legend>
<table>
<tr>
  <td>
    <table>
      <tr><th align="center"> Action </th></tr>
      <tr><td><input type="submit" name="bsearch" value="SEARCH" style="background-color:#CCCC99"  onMouseOver = "return showMaxCheck()" ></td></tr>
      <tr><td><input type=button value="DETAILS"  onClick="return details()" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type=button value="  Before"  onClick="return view(1)" style="background-color:#CCCC99" ></td></tr>
      <tr><td><input type="button" value="  After    " onclick="return view(2)"
                                        style="background-color: #CCCC99"></td></tr>
    </table>
    <input type="button" value="    exit     " onclick="return logoff()"
                        style="background-color: #CCCC99">
  </td>
  <td>
    <fieldset>
    <legend align="center"><b>Search Constraints</b></legend>
    <table>
      <tr>
        <td>
          <table>
            <tr align=left ><td align=left ><input type="checkbox" name="csearchcontent" value=""  onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Content:</b></td><td align=left ><input type ="text" name="tsearchcontent" value="" size="28" disabled="disabled" ></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cstartdate" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Start Date:</b></td><td align=left ><input type = text name="tstartdate" value="" size="15" disabled="disabled" ><a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0 alt=""></a><font size="1" color="#808080"> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cenddate" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>End Date :</b></td><td align=left ><input type = text name="tenddate" value="" size=15 disabled="disabled" ><a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0 alt=""></a><font size="1" color="#808080"> eg: mm/dd/yy hh:mm AM/PM</font></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cprofile" value="on" onClick="enableEdit()"  style="background-color:#FFFFCC" ><b>Profile:</b></td><td align=left >
              <select  name=sprofile  size="1" disabled = "disabled" > 
              <option></option>
              </select></td></tr>
            <tr align=left ><td align=left ><input type="checkbox" name="cdirection" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Direction:</b></td><td align=left ><input type="radio" name="rdirection" value="inbound" checked disabled="disabled" style="background-color:#FFFFCC">Inbound<input type="radio" name="rdirection" value="outbound" disabled="disabled" style="background-color:#FFFFCC" >Outbound</td></tr>
          </table>
        </td>
        <td>
          <table >
            <tr><td ><input type="checkbox" name="csearchname" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Search Name:</b></td><td><input type = text name=tsearchname value="" size="18" disabled="disabled"  ></td></tr>     
            <tr><td><input type="checkbox" name="cwithinlast" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Within Last:</b></td><td><select  name="swithinlast1"  size="1" disabled="disabled"  ><option>0<option selected>1<option>2<option>3<option>5<option>10<option>15<option>30</select><select  name="swithinlast2"  size="1" disabled="disabled" ><option>SECONDS<option selected>MINUTES<option>HOURS<option>DAYS<option>WEEKS<option>MONTHS<option>YEARS</select></td></tr>
            <tr><td><input type="checkbox" name="cgroup" value="" onClick="enableEdit()" style="background-color:#FFFFCC" ><b>Group:</b></td><td>
              <select  name=sgroup  size="1" disabled="disabled">
              <option></option>
              </select></td></tr>
            <tr><td><input type="checkbox" name="cstatus" value="" onClick="enableEdit()" style="background-color:#FFFFCC"><b>Status:</b></td><td><input type = "radio" name=rstatus value="Good" checked disabled="disabled" style="background-color:#FFFFCC">Good<input type = "radio" name=rstatus value="Failed" disabled="disabled" style="background-color:#FFFFCC" >Failed</td></tr>
            <tr><td><b>Show up to:</b><input type="text" value="100" name="tmaxshow" size="5" onClick="enableEdit()"><b>records</b></td><td><A HREF="javascript:document.location.reload();" ONMOUSEOVER="window.status='Refresh'; return true" ONMOUSEOUT="window.status=''"> <B>Set to Defaults </B> </a> </td></tr>
          </table>
        </td> 
      </tr>
    </table>
    </fieldset>
  </td> 
</tr>
</table>
</fieldset> 
</form> 
	
</body>
</html>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:

Select allOpen in new window

 

by: mplungjanPosted on 2009-08-18 at 00:44:55ID: 25120782

PS: You really should be consistent
Use Style tags or a style sheet always instead of some styles and some font attributes and color attributes

 

by: chrissp26Posted on 2009-08-20 at 08:07:07ID: 25143440

Try this: look mum no tables!

There were quite a few errors, I've used an XHTML docu type so have changed a few things but you can remove these if you want.

Any questions, give me a shout ;)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
 
<style type="text/css">
	.clear {
		clear: both;
	}
	.toolBar {
		margin: 20px;
	}
	.button {
		background: #CCCC99;
	}
	.fieldRow {
		width: 40%;
		float: left;
		padding: 5px 0;
	}
	fieldset legend {
		text-align: left;
		font-weight bold;
	}
	fieldset fieldset {
		margin: 20px;
		clear: right;
	}
</style>
 
</head>
 
<body>
 
 
	<fieldset>
		<legend>Search Criteria</legend>
	
		<div class="toolBar">
			<span>Action</span>
			<input type="submit" name="bsearch" value="SEARCH" class="button" onmouseover = "return showMaxCheck()" />
			<input type="button" value="DETAILS"  onclick="return details()" class="button" />
			<input type="button" value="Before"  onclick="return view(1)" class="button" />
			<input type="button" value="After" onclick="return view(2)" class="button" />
			<input type="button" value="EXIT" onclick="return logoff()" class="button" />
		</div>
		
		
		<fieldset>
			<legend>Search Constraints</legend>
		
			<div class="fieldRow">
				<input type="checkbox" name="csearchcontent" value=""  onclick="enableEdit()" />
				<label for="tsearchcontent">Search Content:</label>
				<input type ="text" name="tsearchcontent" value="" size="28" disabled="true" />
			</div>
			<div class="fieldRow">
				<input type="checkbox" name="cstartdate" value="" onclick="enableEdit()" />
				<label for="tstartdate">Start Date:</label>
				<input type = text name="tstartdate" value="" size="15" disabled="true" />
				<a href="javascript:show_calendar('fsearch.tstartdate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0 /></a><small> eg: mm/dd/yy hh:mm AM/PM</small>
			</div>
			<div class="clear"></div>
			<div class="fieldRow">
				<input type="checkbox" name="cenddate" value="" onclick="enableEdit()" />
				<label for="tenddate">End Date:</label>
				<input type = text name="tenddate" value="" size=15 disabled="true" />
				<a href="javascript:show_calendar('fsearch.tenddate');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="show-calendar.gif" width=22 height=20 border=0 /></a><small> eg: mm/dd/yy hh:mm AM/PM</small>
			</div>
			<div class="fieldRow">
				<input type="checkbox" name="cprofile" value="on" onclick="enableEdit()" />
				<label for="sprofile">Profile:</label>
				<select  name="sprofile"  size="1" disabled="true">
					<% 
					for (int i=0; i< p.length; i++) {
																						 
							String val=p[i];
							String $1 = "\"";       
			
							out.println("<option value = "+ $1 +  val + $1 + "" + ">" +  val +  "</option>");
						}  
					%>
				</select>
			</div>
			<div class="clear"></div>
			<div class="fieldRow">
				<input type="checkbox" name="cdirection" value="" onclick="enableEdit()" />
				<label for="tsearchcontent">Direction:</label>
				<input type="radio" name="rdirection" value="inbound" checked="checked" disabled="true" />
				<label for="inbound">Inbound</label>
				<input type="radio" name="rdirection" value="outbound" disabled="true" />
				<label for="rdirection">Outbound</label>
			</div>
			<div class="fieldRow">
				<input type="checkbox" name="csearchname" value="" onclick="enableEdit()" />
				<label for="tenddate">Search Name:</label>
				<input type = text name=tsearchname value="" size="18" disabled="true" />
			</div>
			<div class="fieldRow">
				<input type="checkbox" name="cwithinlast" value="" onclick="enableEdit()" />
				<label for="swithinlast1">Within Last:</label>
				<select name="swithinlast1" size="1" disabled="true"  >
					<option>0</option>
					<option selected="selected">1</option>
					<option>2</option>
					<option>3</option>
					<option>5</option>
					<option>10</option>
					<option>15</option>
					<option>30</option>
				</select>
				<select name="swithinlast2" size="1" disabled="true" >
					<option>SECONDS</option>
					<option selected="selected">MINUTES</option>
					<option>HOURS</option>
					<option>DAYS</option>
					<option>WEEKS</option>
					<option>MONTHS</option>
					<option>YEARS</option>
				</select>
			</div>
 
			<div class="fieldRow">
				<input type="checkbox" name="cgroup" value="" onclick="enableEdit()" />
				<label for="tenddate">Group:</label>
				<select name="sgroup" size="1" disabled="true">
					<% 
					for (int i=0; i< g.length; i++) {
																						  String flag="";
									  String val=g[i];
 
										
										out.println("<option value = "+ "\"" + val + "\"" + "" + flag +">" + val + "</option>");
																						}  
 
					 %>
				</select>
			</div>
			<div class="fieldRow">
				<input type="checkbox" name="cstatus" value="" onclick="enableEdit()" />
				<label for="cstatus">Status:</label>
				<input type="radio" name="rstatus" value="Good" checked="checked" disabled="true" />
				<label for="rstatus">Good</label>
				<input type="radio" name="rstatus" value="Failed" disabled="true" />
				<label for="rstatus">Failed</label>
			</div>
 
			<div class="fieldRow">
				<label for="tmaxshow">Show up to:</label>
				<input type="text" value="100" name="tmaxshow" size="5" onclick="enableEdit()" />
				<a href="javascript:document.location.reload();" onmouseover="window.status='Refresh'; return true" onmouseout="window.status=''"> <b>Set to Defaults </b> </a>
			</div>
		</fieldset>
 
</fieldset>
</body>
</html>
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:

Select allOpen in new window

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...