|   |   |   | ||||
| Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  07-06-2006, 11:24 PM | #1 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | 
				
				Quick: Silly HTML problem needs solving.
			 I'll try to explain this the best I can. In this example of code We have two rows in the second column: Code: <table width="500"> <tr> <td rowspan="2">1</td> <td>2</td> </tr> <tr> <td>3</td> </tr> </table> I have to do this without setting cell heights. My page code on the project I am working on is much more complex than thios but this is the easiest way to get my question across. Thanks muchly! | 
|   |           | 
|  07-06-2006, 11:28 PM | #2 | 
| Marina WILL have my babies! Industry Role:  Join Date: May 2003 
					Posts: 9,234
				 | td valign="top" in the 3rd? | 
|   |           | 
|  07-06-2006, 11:30 PM | #3 | 
| Confirmed User Join Date: Jun 2006 
					Posts: 3,663
				 | wat he said 
				__________________ sig for sale - pornpicz(at)gmail.com | 
|   |           | 
|  07-06-2006, 11:31 PM | #4 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | I use that to align the content of the 3rd cell to the top of the 3rd cell. it doesnt seem to push the top of the 3rd cell snug against the bottom of the 2nd cell's content   | 
|   |           | 
|  07-06-2006, 11:34 PM | #5 | |
| Marina WILL have my babies! Industry Role:  Join Date: May 2003 
					Posts: 9,234
				 | Quote: 
 table width="500" cellspacing="0" or table width="500" cellspacing="0" cellpadding="0" border="0" | |
|   |           | 
|  07-06-2006, 11:35 PM | #6 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | nope, that just makes the gap between cells dissapear. I'm looking into seeing if CSS can solve this but I don't see anything that would work. | 
|   |           | 
|  07-06-2006, 11:41 PM | #7 | 
| Confirmed User Join Date: Jan 2005 
					Posts: 2,640
				 | I think I see what you're saying.  When cell 1 has lengthy content, it splits up the height of cells 2 and 3 and half causing a gap.  If that's correct, would removing cell 3 entirely and putting a table within cell 2 work?  It would look like this: Code: <table> <tr><td>1</td> <td> content of cell 2 <table><tr><td>table replacing cell 3</td></tr></table> </td></tr></table> | 
|   |           | 
|  07-06-2006, 11:42 PM | #8 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | that MIGHT work, I'll try it. The cell is colored with no padding or spacing atributes on that table so I dont know if it will lign up right. | 
|   |           | 
|  07-06-2006, 11:43 PM | #9 | 
| Confirmed User Join Date: Jan 2005 Location: United Kingdom 
					Posts: 7,990
				 | First of all, your code is wrong. The bottom row spans over two columns so it should be like this. Code: <table width="500"> <tr> <td>1</td> <td>2</td> </tr> <tr> <td colspan="2">3</td> </tr> </table> | 
|   |           | 
|  07-06-2006, 11:49 PM | #10 | 
| Confirmed User Join Date: Jan 2005 Location: United Kingdom 
					Posts: 7,990
				 | PS.. I just read your post again, it's 7am here so if I misunderstood, my apologies in advance. | 
|   |           | 
|  07-06-2006, 11:53 PM | #11 | |
| Confirmed User Join Date: Jan 2005 
					Posts: 2,640
				 | Quote: 
 Code: <table> <tr><td>1</td> <td> content of cell 2 <table CLASS=WHATEVER><tr><td>table replacing cell 3</td></tr></table> </td></tr></table> Code: <style>
table.whatever {margin-left: 0px; margin-right: 0px;}
</style> | |
|   |           | 
|  07-06-2006, 11:53 PM | #12 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Thank you very much. While using that method and using cellspacing/padding I was able to make it fit and work for the tast at hand. | 
|   |           | 
|  07-06-2006, 11:57 PM | #13 | |
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Quote: 
 ahaha. Maybe YOU should pick up an HTML manual. You should read fully before you leave assenine comments. no. There is NO bottom row. it was a Left colum with a right colum. The right colum was split into two rows. I was trying to keep the code as clean as possible without doubling up on tables but using a second table was the only solution. Does that me me HTMl illiterate? | |
|   |           | 
|  07-06-2006, 11:59 PM | #14 | |
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Quote: 
 yeah I was using CSS to begin with, had everything streamlined.. No tables at all. then realized the CSS attributes are not cross-browser compatible. Firefox REALLY fucked it up badly. It was the ordering of classes in the style sheet. One browser wants it one way, the other the other way.. Such a shame too.. my code was so damn minimal! | |
|   |           | 
|  07-07-2006, 12:02 AM | #15 | |
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Quote: 
 appologies accepted. I was wracking my brain trying to figure out why you were being assenine, but I think I understand why you misunderstood. So appologies back at ya! | |
|   |           | 
|  07-07-2006, 12:05 AM | #16 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Ah fuck sakes. Ok, it's all looking good, but in fuckfox it doesnt allow the table replacing cell 3 to stretch the entire length of cell 2 like I wanted it to even with height="100%" on the replacement table as all as the cell in the replacement table.. IE looks perfect. | 
|   |           | 
|  07-07-2006, 12:13 AM | #17 | 
| Confirmed IT Professional Industry Role:  Join Date: Nov 2005 Location: Hollywood, CA 
					Posts: 3,744
				 | My recommendation: Learn how to properly use span and div tags and drop your table usage alltogether.   
				__________________ The Best Affiliate Software, Ever. | 
|   |           | 
|  07-07-2006, 12:17 AM | #18 | 
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | GOT IT! Stupid me forgot to remove a tag. | 
|   |           | 
|  07-07-2006, 12:19 AM | #19 | |
| Too lazy to set a custom title Industry Role:  Join Date: Oct 2002 Location: The Boonies 
					Posts: 12,860
				 | Quote: 
 Unfortunately Opera and Firefox ignore a lot of div alignment specifications when used with classes. I have to learn a proper workaround. been reading up a lot on it, also considering purchasing a CSS guide book. | |
|   |           | 
|  07-07-2006, 12:54 AM | #20 | |
| MOBILE PORN: IMOBILEPORN Join Date: Jan 2004 Location: Tinseltown NL 
					Posts: 16,502
				 | Quote: 
  | |
|   |           |