|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Different Table Cell Size
How do I change the cell size in the same table?
|
|
#2
|
|||
|
|||
|
RE: Different Table Cell Size
You can use <td width="100"> inorder to specify a column width. This will apply to the entire column. You can't specify diffrent cell widths for cells in the same column.
|
|
#3
|
|||
|
|||
|
RE: Different Table Cell Size
In a table, all the cells line up. You can sometimes get by using 'colspan', especially if you need two or more cells in the place of one.
To have independant cell boundaries, use a different table for the row that needs different boundaries. |
|
#4
|
|||
|
|||
|
RE: Different Table Cell Size
Here is my code for two different cells. But if I don't write inside the cell, it appears a single cell. How can I show those empty cell according to their width. My ultimate goal is to put a java script meny bar in one cell.
<html> <head> <title> Table Test </title> </head> <body> <table border = 4> <tr> <td width = "10%"></td> <td width = "30%"></td> </tr> </table> </body> </html> |
|
#5
|
|||
|
|||
|
RE: Different Table Cell Size
Use in the cell, this is a non-breaking-space as far as I know, basically it is a space that doesn't get trimmed by the browser.
|
|
#6
|
|||
|
|||
|
RE: Different Table Cell Size
Or use a 1x1 trasparent image
<img src="img/pix.gif" width="123" height="1"> if you want to enlarge the cell to 123 pixels. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Different Table Cell Size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|