<html>
<head><title>mypage</title>
</head>
<body>
          <div id="first">
                             <div> first div</div>
                               <div> second div</div>
         </div>
</body>
</html>

Out put of this code appers as follows

first div
second div

But I want the out out as

second div frist div

and the above out put should be right hand side of the browser.

So I would be very thank full if anyone can give me an ide

cheers

Nishantha

This thread has got nothing to do with Javascript; it would be more relevant in the CSS section. Moved.

<html>
      <head><title>mypage</title>
      </head>
      <body>
      <div id="first" align="right">
      <table><tr>


      <td><div> first div</div></td>
      <td><div> second div</div></td>
     </tr></table>
      </div>
      </body>
      </html>

took time to read your post and really i really can't understand what you mean... hehehe...

the link was good by peter.. should answer your questions..

heres some links.. http://exitfegs.co.uk/Sources.html

this helped me a lot.. just take the time reading it.. this would probably help you too...

best regards

You must put things on the left before things on the right.

Hi I've gone thro' ur problem and come out wid a solution if I do understand wat actually ur problem is.

Now wen u r using DIV tag u have to use the attribute style wher u will mention margin-left for both the DIVisions and POSITION attribute as absolute.

For instance,

<DIV style="margin-left: 0; border: 1px solid red; width: 400;" position=absolute></DIV>
   <DIV style="margin-left: 410; border: 1px solid red; width: 400;" position=absolute></DIV>

This may work.

With Regards
Rupam Datta