RE: Fluid two-column layout in CSS?
by "Sauyet, Scott (OTS-HAR)" <Scott_Sauyet(at)output.net>
|
| Date: |
Tue, 8 Jan 2002 10:34:47 -0600 |
| To: |
"'Kevin W. Bishop'" <bishopk(at)rpi.edu>, Hwg Style <hwg-style(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
I hope this ascii art comes through okay:
General Headers
+-------------------------------------------+
| '..............|
| main Content '..main.Nav....|
| '..............|
|- - - - - - - - - - - - - - '- - - - - - - |
| (empty) '..bottom.Nav..|
+-------------------------------------------+
That is my intended look, where the solid lines ("|" and
"-----") represent a drawn border, the dotted lines ("'" and
"- - -") represent the current invisible table cell
divisions, and the periods represent a background color
contrasting with the main white background.
What I want to ensure is that "bottom Nav" appears at the
very bottom right of the page, even though I don't know
which of the upper panels is taller.
I managed this through the simple 2 x 2 table you can see.
Since my navigation is only one line of text, it doesn't
bother me much that I force the empty cell below "main
Content". But it would ideally sit to the right of the last
line of main content, as long as this line is lower than the
bottom of "main Nav".
The users' impression should be that the whole right-hand
third of the page is for navigation / administrative /
copyright info, with a copy of the text navigation bar
(e.g. "Previous | Home | Up | Next") at the very bottom.
So to answer your question, I don't care at all about 2 x 2;
that was just a convenient way to get the above.
And now I think I see a simple way to nest my <.div>s to
achieve it. I'll post the results as soon as my job gives me a
chance to work on it.
Thanks for the feedback.
Thanks,
-- Scott
> == Kevin W. Bishop
>> == Scott Sauyet
> Sorry glish.com wasn't able to help you.
>
> I'm not sure I understand. It sounds like you're describing a table that
> has two rows, where the first row is divided into two columns, and the
> second row contains one cell spanning those columns.
>
> Or do you in fact mean "2x2"? (which would give us a square with four
> squares inside of it?)
>
>> And maybe that's the best way to frame the question: How can I use CSS
to
>> mimic a 2 x 2 <.table> ?
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.