On 9/22/10 3:54 PM, Angela French wrote:
Hello,
I'm got a problem with pages in my site that have a floating
sidebox.
[...]
I tried moving the content in the source code to where I want it,
then absolutely positioning the sidebar box up where I want it, but
that just layered the text blocks. I'm hoping this won't require
major restructuring of the page layout, but I'm afraid it might. I
do want to keep the main content "reaching" under the sidebar box.
Hi Angela,
Is this something like what you are after? -
<http://webwiz.robinshosting.com/temp/college/>
I think you are on the right track. My solution is to add an empty <div>
just where you want it, so the text flows around that, then position the
sidebar over that "spacer" box.
The main difficulty is that the width of the sidebar is in pixels, while
the height depends on the text size, which could be anything, depending
on browser and OS settings.
As your navigation does not work well when text-size is larger, I
altered the layout to "elastic" by substituting EMs for pixel widths on
the whole layout. That way, both width and height vary in proportion so
that lines are not so inclined to re-wrap.
Check it out-- and don't forget to use the browser text-size and minimum
font size controls...
Cordially,
David
--
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/