Html table WIDTH atributte ( tag ) width procentual and pixel">

Html table WIDTH atributte | html table tag

 
  • HOME  • tutorials  • photos   • free grafics design   
     

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
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 :
• How to insert decimal values into a SQL table row
• Asrep.com adsense traking script is down
• List of Walt Disney animated movies
• Free PHP and AJAX CAPTCHA scripts
• Convert uppercase to lowercase javascript online script
• Detect and block uppercase (up letters) in a string (form text input) php script
• Php Googlebot detection script
• Replace breaking lines in text or textarea input using php
• Rounded borders corners css without images
• Photoshop styles, asl photoshop style free download

 

 
 
Copyright ©2008- www.himmera.com

top

eXTReMe Tracker