Re: [css-d] DIV wrapping a variable DIV

2007-04-27 Thread Glen Lipka
Thanks for the replay/effort. Unfortunately, this doesn't work. The use case is fairly simple. I am building an html editor that works on TOP of other people's html. I am positioning all of my stuff absolutely. So I need to reference the top left corner of whatever html is part of the "template

Re: [css-d] DIV wrapping a variable DIV

2007-04-26 Thread Bruno Fassino
Glen Lipka wrote: > I made a sample page to demonstrate the problem. > http://www.commadot.com/jquery/simple.htm > > I want to wrap a div around another div. The second DIV is of unknown > height/width and may be positioned left or center. The first > div must wrap TIGHT around the contents of th

[css-d] DIV wrapping a variable DIV

2007-04-26 Thread Glen Lipka
I made a sample page to demonstrate the problem. http://www.commadot.com/jquery/simple.htm I want to wrap a div around another div. The second DIV is of unknown height/width and may be positioned left or center. The first div must wrap TIGHT around the contents of the second DIV. It can't expan