| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
my table row keeps expanding
my table row keeps expanding even tho i define the height
as Code:
<td width="161" height="100" rowspan="2" align="left" valign="top" bgcolor="#FF9900"> as the page goes longer, i think the table gets longer too the row will expand in height and my stuff gets out of place in the table row, any idea how to fix this row so that it will not expand? |
|
#2
|
||||
|
||||
|
First off, why are you using <table> for layout purposes?
Secondly, expanding in what direction? Cells expand because the content inside doesn't fit... ask yourself: "What else is it supposed to do?" |
|
#3
|
|||
|
|||
|
basically say we got a 3 row x 3 col.
1 | 2 | 3 4 | 5 | 6 7 | 8 | 9 say if the 5 gets bigger in height, 4 will become bigger as well. and the contents inside 4 gets out of veritical alignment, altho i set it to left&top. i need it align to left+top but it seems when 5 gets bigger, contents inside 4, the spacing increases and doesnt align to left-top. ps the contents inside 4 is a table. |
|
#4
|
||||
|
||||
|
If 5 expanded vertically, 4 and 6 would have to expand with it, otherwise it wouldn't be a table, silly.
Post a screenshot, I'm having difficulty visuallising what problems you're facing. And btw... you're not meant to use tables for page layout, so if you are, then that's the problem. |
|
#5
|
|||
|
|||
|
"If 5 expanded vertically, 4 and 6 would have to expand with it"
yep thats right, i have set the contents in 4, which is a table to valign=top and align left.. but when 4 and 6 expand in height, it does not align to left+top, any idea? |
|
#6
|
|||
|
|||
|
http://203.41.12.128/softwares/test2.aspx
look at the top left lady.. shes suppose to be sitting on the boxes with no gap ![]() |
|
#7
|
||||
|
||||
|
Quote:
You want her to be aligned to the bottom of the cell? So why is the cell set to valign="top" ? And please, don't use <table> for page layout. You're only digging a hole for yourself in the future. |
|
#8
|
|||
|
|||
|
i need that "categories" table to be aligned to top. so that there is no gap between the lady and the category table.
http://203.41.12.128/softwares/test2.aspx |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > my table row keeps expanding |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|