Yes, to do that just apply position:relative to #container

Christian Roque Geldres


-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Santiago Restrepo
Enviado el: miƩrcoles, 08 de noviembre de 2006 04:17
Para: css-d@lists.css-discuss.org
Asunto: [css-d] relative absolute position

Hi List:

I have a question about the absolute position. I know you can specify the
exact position in witch you want the object to appear. But, is it possible
that the object don't take the whole page as reference but just the object
that contain it?

for example; i want an element to appear in the top left corner of a div, is
there anyway i can say

#container element
{
top: 0px;
left: 0px;
}

thanks in advance :)

Kuma
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to