Solved

HTML Table Box

Posted on 2004-10-05
6
223 Views
Last Modified: 2008-03-06
Hello,

Can someone please tell me how to make a box outline that has a title within the outline and contains radiobuttons or textboxes inside.  I need to have this inside of a html table <td>.  I need it to look something like this.  Thanks a lot. msyed1.


      -------Last Update---------
      |                                   |  
      |     Date:  ________      |
      |     By   :  ________      |
      |                                   |
      -----------------------------              
0
Comment
Question by:msyed1
  • 3
  • 2
6 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 12226634
put a table within the <td>


<td>
  <TABLE border="1">
   <TR>
    <TD>
      title goes here
    </TD>
   </TR>
   <TR>
    <TD>
      <INPUT type="text" name="mytext" value="" />
    </TD>
   </TR>
  </TABLE>
</td>
0
 

Author Comment

by:msyed1
ID: 12226885
KnightEKnight:
The above does not print the words "Last Update" within the table (border) outline.  It prints it as a separate <TR> table row.  That's not what I am looking for.  Please see the image I drew.
0
 
LVL 11

Expert Comment

by:neester
ID: 12226971
YOU NEED TO USE <fieldset>

eg:

<fieldset>
<legend>TITLE HERE</legend>
CONTENT HERE<br />
CONTENT HERE<br />
CONTENT HERE<br />
CONTENT HERE<br />
</fieldset>
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 11

Accepted Solution

by:
neester earned 125 total points
ID: 12226996
BTW
You cannot CENTER that heading with any EASE...
although you can manipulate it with CSS....

eg

<fieldset style="border: 1px solid #000;">
<legend style="background-color: #EEE; padding: 3px 10px; border: 1px solid #000;">TITLE HERE</legend>
CONTENT HERE<br />
CONTENT HERE<br />
CONTENT HERE<br />
CONTENT HERE<br />
</fieldset>
0
 

Author Comment

by:msyed1
ID: 12228059
Neester:  Thank you.  Your suggestion worked...
0
 
LVL 11

Expert Comment

by:neester
ID: 12232108
:)
No problems!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Find out what you should include to make the best professional email signature for your organization.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now