Previous Message
Next Message

Fixing an image to the right corner of a div

Sent by Maria Yousaf on 19 May 2009 18:06


> I get a 404 error when I go here.

Sorry, the URL is http://home.digitaltorque.ca/anotherplacetogrow.

> #wrapper {
>  position: relative; /* so that when we absolute position the image, it is relative to wrapper.
> }
>
> #spots {
>  position: absolute;
>  top: 0;
>  right: 0; /* we want the box attached to the right, so position it from the right instead of the
left */
> }

Thanks Tim!  This is actually really close to what I want, but I was
hoping to find a way to have an image partially hang off the top and
right side of the wrapper, rather than be positioned strictly inside
the wrapper.  Almost like the image is sitting on top of the wrapper.
I'm not sure if my description is clear.

Maria
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: