MSN Home  |  My MSN  |  Hotmail
Sign in to Windows Live ID Web Search:   
go to MSNGroups 
Groups Home  |  My Groups  |  Help  
 
Web DesignDeemed especially "cool" by MSN.WebDesign@www.msnusers.com 
  
What's New
  Join Now
  Homepage  
  Rules - Simple  
  Nickel Tour  
  How_to_Ask_for_Help  
  Message Boards  
  Member Promos  
  Newbie Central  
  Tutorials etc.  
  
  System Requirements  
  
  MSN Help Topics  
  
  Add A Counter  
  
  Add a Background  
  
  Logos&Affiliations  
  
  Add Music Link  
  
  Tables for Newbies  
  
  Using Tables  
  
  Advanced Tables  
  
  Cookie Toss etc.  
  
  Font Color Tips  
  
  Netiquette  
  
  Organize Pages  
  
  HTML tags-MSN  
  
  Add a Poll  
  
  Make Your BGs  
  
  Color Matching  
  
  Member Search  
  
  MSN Limits  
  
  Making A List  
  
  Advanced Lists  
  
  Passport Security  
  
  Group Jukebox  
  Basic Security  
  Hot Tips  
  FP - HTML Editors  
  Good Design  
  Help Groups  
  Free*Stuff Links  
  Templates  
  Handy Helpers  
  Pictures  
  Documents  
  Member Assist  
  Scrabble Board  
  Sample Jukebox  
  Nested Tables  
  Homepg Workshop  
  
  
  Tools  
 

Advanced Tables - formatting, padding and spacing

Building Your Page Using Tables:

  • put your items into the cells on your table and saving and viewing the page often
  • to put both a graphic and text in the same cell here is how horizontal aligning works:
    • left-aligning the graphic will bring the text up on the right side of the graphic, flush with the top of it;
    • right-aligning will put the graphic on the right and the text to the left
    • centering usually puts the text above or below the graphic, with both items centered in the cell (unless you have extraneous spaces - then you just get a confusing mess)
  • you can also insert a 2 col x 1 row table in the cell - one holds the picture, the other holds the text (or two pics or two blurbs of text)
  • sometimes with centering, the text will start on the the same line as the graphic at its lower right (or if graphic is below the text, text may end on the same line as the upper left of the graphic - this is because you have a wider cell in the same column)
    • put your cursor right in front of the items you want to push up or at the end of the items you want to push down, and use the enter or shift+enter key to force the text to wrap below or above the pic
  • if you use shift+enter, the alignment of everything in the cell must be the same
  • if you use just the enter key to create a paragraph break between components in a cell, each component can have it's own alignment without affecting the rest
  • when editing an existing table (to change borders, background, etc.), put your cursor on one edge of the table and when you see the little cross-hairs icon appear, double click to bring up the table editor; click on EDIT TABLE tab to change things in the table

 

This table has 
cell padding
& spacing of 2,
0 borders

 

This table has
zero cell padding
& spacing
& borders
 

 default 1:1:1  

Pad3:Spc1:Brdr1

Pad1:Spc3:Brdr1

 

  • You can use cell padding and cell spacing to make the areas between cells and around the edges of the cells wider or narrower - setting them both to zero will ensure there is no space between items in your cells
    • edges of graphics would be touching each other if you did this, and lists of text for links would have no spaces between them
    • this is excellent for links because using this method, you have no "bleeding" of one link into the next like you do in single spaced text links without a table
  • you can get an interesting effect by NOT setting any border color, and setting the table spacing and cell padding to 2 or more - you get a space where the background shows through between the cell padding and cell spacing - this "tints" the colorless border to blend in with your color scheme
  • cell spacing is the space outside of the border; cell padding is the space inside of a border - you can increase the size of either or both of these to get exact spacing between cells without having to insert line breaks in the cells
  • when you have a higher item in a row, the shorter items will be centered VERTICALLY in the other cells in that row - to get a shorter item to begin at the top of the cell, put your cursor behind it (or at the end of the text in it) and use enter or shift+enter to move it up; to push the item to the bottom, put the cursor in front of it, and use the same technique to push it down
  • if you know how to use HTML code, you can tell the table contents to align at the top or bottom:
    • switch to the html editor and add this into the table properties:  "valign=top" or "valign=bottom" - put it inside the existing table parameters and the quotation marks there!

Repairing a "broken" table (adding or deleting cells):

Need to delete a cell, column or row from a table?  Have you mysteriously managed to delete a cell or otherwise mess up an existing table?  Go to the html code view.  Look for the TR and TD - those signify the rows and the cells within the rows in the table.  Here's an example - 2x2 table - I left the spaces in the cells so the code would make more sense. 

 




 

 

 

 




 

 

 

 

TABLE - start of table (background url would go in here)
TBODY - start of table contents
TR - first table row
(this is where you also specify row height)
TD /TD - first cell in row (you can specify cell background and cell width in here too)
TD /TD - second cell in row (you can also specify 'colspan' or 'rowspan' here too)
/TR - end of first row

TR - start of second row
TD /TD - first cell in row
TD /TD - second cell in row

/TR - end of second row
/TBODY - end of table contents
/TABLE - end of table


So, if you can locate the pattern of the TD and TR items, you can use html to reinsert missing rows or cells, or to delete them, or to customize height, width, background, etc.  Once you find the pattern, you will quickly spot the one that "doesn't fit" so you can make your changes to the html.  In addition, putting something catchy like HERE in block caps in a cell before you go to the html view makes the problem area easier to find.

 

Copyright Web Design, February 2001
Updated:  May 2, 200
3
Notice: Microsoft has no responsibility for the content featured in this group. Click here for more info.
  Try MSN Internet Software for FREE!
    MSN Home  |  My MSN  |  Hotmail  |  Search
Feedback  |  Help  
  ©2005 Microsoft Corporation. All rights reserved.  Legal  Advertise  MSN Privacy