width procentual and pixel">

Html table WIDTH atributte | html table tag

 
  • HOME  • tutorials  • photos   • free grafics design  • maps
     

CATEGORIES
EXCEL TUTORIAL
SQL TUTORIAL
WEB INFORMATION
WINDOWS
JAVASCRIPT SCRIPTS
COMPUTER SECURITY
GRAFIC DESIGN
HTML
PHP
CSS STYLE
ATLAS OF THE WORLD
DEVELOPER
PHOTOSHOP
MAGAZINE
TOP LISTS
LATEST ARTICLES
Html Borders Fix Setting For Firefox For Table And Image
Countries Select Box List Of Countries Input Html
Galleryimg=no Block Image Toolbar Save As
DIV Tag Html
Disable Right Click
Permanent Redirection With HTTP 301
Html Special Characters
HTML TABLE Tag
Creating An Html Page
HTML - HyperText Markup Language - Introduction
   • Html Table WIDTH Atributte
  HTML » HTML TABLE TAG » HTML TABLE WIDTH ATRIBUTTE
google ads
 


HTML TABLE WIDTH ATRIBUTTE - HTML TABLE TAG
 

HTML TABLE WIDTH <table width="...">


The width attribute specifies the width of a table.
If you don't set the width attribute , a table takes up the space it needs to display the table data.

We present below an example to a table with 500 px width:

Example code:

=========================


<table width="500" border="1">
<tr>
<td ><div align="center">Urban Area </div></td>
<td ><div align="center">Population</div></td>
</tr>
<tr>
<td>Philadelphia</td>
<td>5,149,079</td>
</tr>
<tr>
<td>Miami</td>
<td>4,919,036</td>
</tr>
</table>

========================

And the result:


Urban Area
Population
Philadelphia 5,149,079
Miami 4,919,036

width in percent (%)

========================

<table width="50%" border="1">
<tr>
<td ><div align="center">Urban Area </div></td>
<td ><div align="center">Population</div></td>
</tr>
<tr>
<td>Philadelphia</td>
<td>5,149,079</td>
</tr>
<tr>
<td>Miami</td>
<td>4,919,036</td>
</tr>
</table>



========================



Urban Area
Population
Philadelphia 5,149,079
Miami 4,919,036

===============

<table width="80%" border="1">
  <tr>
    <td ><div align="center">Urban Area </div></td>
    <td ><div align="center">Population</div></td>
  </tr>
  <tr>
    <td>Philadelphia</td>
    <td>5,149,079</td>
  </tr>
  <tr>
    <td>Miami</td>
    <td>4,919,036</td>
  </tr>
</table>

===============


Urban Area
Population
Philadelphia 5,149,079
Miami 4,919,036
In the same mode you can to set the width of a cell using the next format:

<td width="500"> or <td width="50%">








google ads

 

 

 

the latest articles :
• MD5 hash generator Online tools Windows Linux C Php
• Remove duplicates in html lines online javascript
• documentgetElementById()innerHTML javascript set Example
• How to block processes from starting and running in Windows XP
• List of us american presidents with pictures
• Ucwords javascript convert online tool
• Hex to rgb converter javascript for colors online
• Letter-spacing CSS property for html pages
• SQL Inject protection without complicated class php script and tutorial
• How to insert decimal values into a SQL table row

 

 
 
Copyright ©2008- www.himmera.com

top

eXTReMe Tracker