- Hey TC,
On May 29, 2008, at 6:50 AM, ta0ch1 wrote:
> I am using the following structure for a page:
> <div id="doc4" class="yui-t1">
> <div id="hd">
> <!-- header -->
> <div id="bd">
> <div id="yui-main">
> <div class="yui-b">
> <div class="yui-ge">
> <div class="yui-u first"> </div>
> <div class="yui-u"> </div>
> <div class="yui-b" id="nav"> </div>
> <div id="ft"> </div>
> and would like to reduce the space between the the 'yui-main' div and
> the 'yui-b' div of id = 'nav' that contains the navigation menu. The
> current space between elements is a little to wide and i have been
> trying to figure out how to affect the padding/margin/size of a DOM
> object to reduce it.
> You input would be much appreciated.
The space between the two .yui-b blocks is generated by the difference
between the width of one and the negative margin of the other.
Tweaking either of those settings will change the margin.
More info here: