Re: ARRRRRG!!!!!!!!!!!!!!!!!!!!!!!!

by Michael Jon Muehlendorf <haoka(at)wi.tds.net>

 Date:  Tue, 18 Apr 2000 18:16:11 -0500
 To:  WBass3(at)aol.com,
hwg-basics(at)hwg.org
 In-Reply-To:  aol
  todo: View Thread, Original
Hello Woody!

All is not lost. Tables can be frustrating, but after you accept and set
some ground rules for the way you code them, your problems will soon be
over. For example, in your code below:

I always use just about the same code to declare a table, like this:
<table width="250" cellpadding="0" cellspacing="0" border="0">

then...for alignment...you can approach this a couple of ways...

...in your table row statement, for example:

	<tr align="left" valign="top">

...then, if you need a different alignment in a particular cell, declare it
in the table data tag, for example:

		<td align="center" valign="top">

...also, unless all of your rows and data cells are the width of the table,
you should declare their width within their respective tags, for example:

	<td width="125"....etc.>

Just remember that certain attributes listed in the table declaration
itself, or in the row declarations for that matter, can be over-ridden by
contrary statements in your table data cells.

BTW...if you want to write good HTML code for tables, be sure to include
the "table row" and "table date" tags...even if the table only holds ONE
element.

One more tip...I read this in a post on this list not too long ago, and I
have been using it ever since. When you declare your tables, start out with
a border of "1" so that you can see the shape of them. It's much easier to
see where you have stray or incorrect declarations when you can see the
"shape" of the table.

Did all of this make sense? I hope so...good luck!

Mike

At 05:40 PM 4/18/00 EDT, WBass3(at)aol.com wrote:
>Okay..  im frustrated...  TABLES!!!!!!!!!!!!!!!!!!!!!!!!!
>
>how do i set the width of the tables???????  
>I used the following.. but it still makes one bigger than the other....
>
>HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!
>!!!1
>
><td valign=top width="250" align=center bgcolor="99ff66">
>
>and STILLLLLLLLLLLLLLLLL  no change..  i did that to both tables!!!  
>
>and i wont EVEN go there about what happens on IE!!!!!!
>
>Signing off very very very aggrivated...
>
>Woody
>
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA