Solved

HTML Table Box

Posted on 2004-10-05
6
234 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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 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