Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

absolute positioning in a block, not the whole document

0 views
Skip to first unread message

Martin E

unread,
Jul 12, 2001, 2:22:57 PM7/12/01
to
Sorry for the RE-POST, but need an answer =~)

Hello,

Can you absolutely position something (style) into a block level element
(DIV)?
This example results in positioning the element (<IMG class="putHere">) onto
these DOCUMENT coordinates:
<style>
.putHere{position:absolute; top:240; left:550;}
</style>

What would be COOL is if I could position this element (<IMG
class="putHere">) into a specific DIV block coords, and not the whole page.
Can this be done?
--
Cool,

Martin E.
God bless you...


jonas hoglund

unread,
Jul 13, 2001, 5:28:57 AM7/13/01
to
Martin,

To do what you're asking for you have to add
a "position:relative" style rule to the DIV you want to
position the IMG inside.

/jonas


>-----Original Message-----
>Sorry for the RE-POST, but need an answer =~)
>
>
>
>Hello,
>
>Can you absolutely position something (style) into a
block level element
>(DIV)?
>This example results in positioning the element (<IMG
class="putHere">) onto
>these DOCUMENT coordinates:
><style>

>..putHere{position:absolute; top:240; left:550;}


></style>
>
>What would be COOL is if I could position this element
(<IMG
>class="putHere">) into a specific DIV block coords, and
not the whole page.
>Can this be done?
>--
>Cool,
>
>Martin E.
>God bless you...
>
>
>
>
>
>

>.
>

0 new messages