HTML
  Home arrow HTML arrow Page 2 - Completing Temporary Web Page Processing
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Completing Temporary Web Page Processing
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-04-22

    Table of Contents:
  • Completing Temporary Web Page Processing
  • Panel Layout
  • Elements to Use in the Table Cells
  • Spaces Within the Cell

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Completing Temporary Web Page Processing - Panel Layout


    (Page 2 of 4 )

    The panel (HTML Form) that we have seen so far has very few elements. It is simple. When you need more elements and a broader Form, you need to give consideration to the layout. The layout I want use for the analysis has the components for the Form in the middle of the panel. It can have some text or images on the left, and it can also have some text or images on the right.

    So there are three sections. The section on the left has some text or images. The section in the middle has the Form elements. The section on the right has some text or images. The panel element is still the Form.

    I have made the Form broader. I have given the Form a width of 900px. In order to have the three sections, I have used an HTML Table of one row and three cells. The cells are for the three sections. This is the table and its contents:


    <table>

    <tbody>

    <tr>

    <td width="250">

    Some Text or image go here - left. <br />

    <span style="background-color:chocolate; font-weight:bold">A dummy SPAN Element</span>

    </td>

    <td width="250">

    Label 1 <input id="I1" type="text"><br />

    Label 2 <input id="I2" type="text">

    </td>

    <td width="250">

    Some Text or image go here - right. <br />

    </span><span style="background-color:chocolate; font-weight:bold">A dummy SPAN Element</span>

    </td>

    </tr>

    </tbody>

    </table>


    The width of the table is less than the width of the Form element. This is because tables have padding, borders and margins, and these values depend on the particular browser. Make sure you give the table cells definite widths to properly space out the sections.

    If you want the table to be of the same size as the Form, then you have to give the table zero padding, zero border and zero margin; there should also be zero space between the cells, zero cell padding and zero cell borders. Remember, these values add to the overall size (width) of the table. These values are not necessarily the same for different browsers.

    In the previous Form, the form elements were in an HTML Table. Here, the Form elements are in the middle cell in the above Table. I have put some dummy elements in the first cell and third cell.

    This HTML Table goes into the position of the previous HTML Table.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Hello HTML 5, Goodbye Gears
    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek