Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] YUI Grid Positioning Issue

Expand Messages
  • Nate Koechley
    Hey TC, ... 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
    Message 1 of 2 , Jun 3, 2008
    • 0 Attachment
      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>
      > <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>
      > </div>
      > </div>
      > <div class="yui-b" id="nav"> </div>
      > <div id="ft"> </div>
      > </div>
      > </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:
      http://tech.groups.yahoo.com/group/ydn-javascript/message/8836

      Thanks,
      Nate
    Your message has been successfully submitted and would be delivered to recipients shortly.