Bill,

What you want to do is easy. First, stop using tables to lay out your text. You're correct about how to use floats, but you can't use them with tables. I'd try something like this:

<div id="mainColumn">

        <div id="sampleChapters">
                <ul>
                        <li><a href="...">Table of Contents</a></li>
                        ...
                </ul>
        </div>

        <p>This letter is typical of the customer responses we receive:</p>
        ...
</div>

CSS:

div#sampleChapters
{
        float: right;
        width: ???px;
}

Paul

At 04:36 PM 7/19/2005, Bill Hely wrote:

> This is a question that might be easy to answer if you
> provided a sample HTML page.  Why don't you mark up
> what you're talking about and post that?  Most of the
> time when I do that I answer my own question in the
> process of preparing the test page.

Actually I can give an existing example of what I want, but I was
reluctant to do so in case it was perceived as a sneaky
advertising plug.

Go to http://hackersnightmare.com and scroll down to where the
grey-background column starts on the right hand side.

Ideally I would like that column to end under the last of its own
content (the "Subscribe FREE" link), and the white-background
content to revert to full width.

I figured a "float: right" table would be a neat way to achieve
the effect, but I haven't been able to get it to work.


--
We take security very seriously. All outgoing mail is
certified Virus Free. To boost YOUR security visit
The Hacker's Nightmare: http://HackersNightmare.com.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date:
19/07/2005



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to