I'm developing a system of html elements positioning according to their coordinates. Let's say the browser window is a form and elements are controls: Everything was cool until I started developing a container for the element. The problem is that if I use <DIV> as a container positioning is not working as I expect. So the question is how one can position elements inside the absolutely positioned element <html> <style type="text/css"> ...first { position: absolute; top: 100px; left: 100px; } ...second { position: absolute; top: 100px; left: 300px; } ...third { position: absolute; top: 10px; left: 10px; } </style> <body> <div class="first"> <div class="third"> </div> </div> <div class="second"> <div class="third"> </div> </div> </body> </html> Is not working as expected. /////////////////////////////////////// Hello, How do you want to position it? Here is your file: http://www.kende.com/css/ Since ..third is inside the the other div, absolute static relative positioning don't make much difference. Regards, Andras Kende http://www.kende.comReceived on Tuesday, 24 May 2005 10:53:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:38 GMT