|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
A cell in a table I have stretches with another cell as that particular cell expands.
I have tried to set a height to the cell that I don't want to expand but with no luck. How do I force a tablecell to remain say 300 pix height? |
|
#2
|
|||
|
|||
|
Well, you could try making a gif that is 300px in hight and put it in its own cell or use the <br clear=left|right>. It is not the best answer but it should work
------------------ 2 Samuel 7:10 Moreover I will appoint place for my people Israel, and will plant them, that they may dwell in a place of their own, and move no more; neither shall the children of wickedness afflict them any more, as beforetime, |
|
#3
|
|||
|
|||
|
Sorry, but how do I use the <br clear=left|right|all> ??
|
|
#4
|
|||
|
|||
|
it is for aligning around an image.
try it ------------------ 2 Samuel 7:10 Moreover I will appoint place for my people Israel, and will plant them, that they may dwell in a place of their own, and move no more; neither shall the children of wickedness afflict them any more, as beforetime, |
|
#5
|
|||
|
|||
|
You are well off putting a one-cell table into your stretching cell. This way your container cell could grow with its couterpart while your innner table cell would remain with the size you gave it (typically by putting inside a transparent gif with a height of 300 and a width of 1).
|
|
#6
|
|||
|
|||
|
Ihari, the problem is that I can't do that.
(i.e. setting a table within a cell.) The reason is other surrounding cells. ------------------ ¬ peterbe.com ¬ |
|
#7
|
|||
|
|||
|
Ok try this....
<table width="100%" height="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td rowspan="2" width="1" valign="top"> <img src="some image" width="1" height="300" border="0" alt=""> </td> <td valign="top"> hi </td> </tr> <tr> <td valign="top"> hello </td> </tr> </table> This should work... ------------------ 2 Samuel 7:10 Moreover I will appoint place for my people Israel, and will plant them, that they may dwell in a place of their own, and move no more; neither shall the children of wickedness afflict them any more, as beforetime, [This message has been edited by Eclipce (edited September 19, 2000).] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Force table-cell height |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|