EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > Tutorials > HTML > Tables


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  HTML Tables :
ROW/CELL TAGS








These settings can be added to both <tr> and <td> tags.

PROPERTYDESCRIPTION
align=
left
right
center

aligns content to the left of cells
aligns content to the right of cells
aligns content to the center of the cells
background=filenamesets a background image for the cells
bgcolor=#rrggbbsets a background color for the cells
bordercolor=#rrggbbsets color for the border of cells
bordercolordark=#rrggbbsets color for the border shadow of cells
valign=
top
middle
bottom

aligns to the top of cells
aligns to the middle of the cells
aligns to the bottom of cells
width=
n
n%

specify a minimum width for the cells in pixels
specify a minimum width for the cells in percent of the table width
height=
n
n%

minimum height of cells in pixels
minimum height of cells in percentage of table height



These settings are only valid for <td> tags.

PROPERTYDESCRIPTION
colspan=nnumber of columns a cell should span
nowrapprotects agains linebreaks, even though the content
of a cell might be wider than the browser window
rowspan=nnumber of rows a cell should span


Note:
Settings for columns(<td> tag) have higher priority than settings for rows(<tr> tag).

Settings for cells (<tr> or <td> tags) have higher priority than settings for the table as a whole(<table> tag).


 << PREVIOUS
BACK TO MENU >>  
















DEVELOPER TIP!
FACT:
On the web's 100 most visited sites you will not find a single word that is written outside a table!
TIP:
Use of invisible tables is the most popular method for layout on web pages.





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho