"Poonam" <po****@brainvisa.com> wrote in
news:36******************************@news.teranew s.com:
Hi there.
How can i maintain the spacing between to divs if palced side by side
with 10px spacing between them..
Not using any tables. And atleast making one of the div relative
positioning.
Make sure you understand what relative positioning really means. It
doesn't mean "positioning an element relative to another element" (which
usually requires *absolute* positioning). It means "positioning an element
relative to the place where it would have appeared if it hadn't been
positioned." In other words, it means "lay out the page as if the element
hadn't been positioned, and then move the element without moving anything
else." In particular, that means "do *not* close up the space that the
element would have occupied if it hadn't been positioned."