Topic: Two column scrollable table |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Indiana, PA |
posted 03-16-2006 16:32
Is there any way, (using a table) to make a 2 column layout like this |
Lunatic (VI) Inmate From: under the bed |
posted 03-16-2006 18:15
Off hand there is no way that I am aware of, other than perhaps a javascript solution. |
Paranoid (IV) Inmate From: Indiana, PA |
posted 03-16-2006 20:19
Figured it out. code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>Untitled</TITLE> <META NAME="GENERATOR" CONTENT="MAX's HTML Beauty++ 2004"> </HEAD> <BODY> <table border="1"> <thead> <tr> <td>Results</td> <td>Categories</td> </tr> </thead> <tbody> <tr> <!-- The width of the table column controlls the width which is displayed--> <td style="width: 20%;"> <!-- The 100% width we specifiy bellow is 100% of the td the div is contained in. --> <div style="width: 100%; height:450px; overflow: scroll;">Learn the most efficient method for managing a clean, table-based layout. The premise is simple... Use CSS to manage your table-based layout to the extent that you can convert a 1000-page site from a fixed-width scenario to a fluid scnario (and much more) by editing a couple of rules in a single style sheet. Placeholder text follows... Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool.</div> </td> <td> <div style="height: 450px; overflow: scroll;"> Learn the most efficient method for managing a clean, table-based layout. The premise is simple... Use CSS to manage your table-based layout to the extent that you can convert a 1000-page site from a fixed-width scenario to a fluid scnario (and much more) by editing a couple of rules in a single style sheet. Placeholder text follows... Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut PVII excelsior magna aliquam erat very cool. Ut wisi enim ad minim veniam, quis nostrud exerci tation Murray suscipit lobortis nisl ut aliquip ex ea commodo sound asleep. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel Gerry et Al dolore eu feugiat nulla BMW zoom zoom at vero eros et accumsan et I-95 South odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut we be cool. </div> </td> </tr> </tbody> </table> </BODY> </HTML>
|
Lunatic (VI) Inmate From: under the bed |
posted 03-16-2006 20:40
But this is purely silly. In every way. |
Maniac (V) Mad Librarian From: Seoul, Korea |
posted 03-17-2006 00:53
And the crusade continues... |
Maniac (V) Mad Scientist From: :morF |
posted 03-22-2006 09:56
Well, that and you've got inline styles in your code. They're a travesty against nature, so they are. And mixed-case tags. XHTML tags should always be lower-case. |
Lunatic (VI) Inmate From: under the bed |
posted 03-22-2006 15:15
Mask - I hope you at least realize how uninclined to help you people will be when you consistantly ignore all the advice you are given as if it wasn't even posted. |