Tim Climis wrote:
>
>> Hi Tim,
>> I don't think you've given us enough information to come up with an
>> exact solution... I wanna see da code! :)
>
> Okay. You asked for it. But as a warning, it's all kinds of fun.
> http://www.indiana.edu/~intlcent/ois/org_chart.php
> user: oistest
> password: fhall306
(snip)
> Each colored box with picture, name, etc is a div of class person. Right
> now,
> I have margins around the person divs (which are of course inside list
> items).
> I'm trying to set up the connector lines for the chart (specifically the ones
> in the "branch" class) so that they are absolutely positioned in relation to
> the list items. But the collapsing margins are causing the lines to not
> connect at the top, since setting width to 100% is not getting it all the way
> over to the next branch at 100%.
(snip)
> Actually, I need to make my horizontal margins to not collapse too. I want
> no
> margin collapsing whatsoever.
(snip)
> ---Tim
Change this,
.person {margin: 2em auto 0;}
to this.
.person {margin: 0 auto;}
--
Alan http://css-class.com/
______________________________________________________________________
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/