BLaZe23
04-06-2003, 05:36 PM
This is kinda embarassing to ask because some people could get absolute positioning right away and for the past few weeks i'm still dumbfounded. Could anybody explain how to use it, because i'm renovating one of my sites.
BLaZe
kittycat
04-06-2003, 05:42 PM
Absolute positioning is used when you want to place something, ie an iframe or image, in an exact position on the page. In the code, you use the exact pixels from the top and left sides you want it to be. The right and bottom sides are rarely used, although they can be.
The code is here, (http://www.lissaexplains.com/css2.shtml#position) it's for images but you can make the changes for other things accordingly.
PikaBean32
04-06-2003, 05:50 PM
k, so basicly u can position anything u want on your page
u start with:
<DIV style="position: absolute; top:number of pixels from the toppx; left:number of pixels from the leftpx;">
what you want to position goes here... like an iframe or a picture... or text.... anything!
</DIV>
with the numbers it helps to experiment if your not sure exactly where you want it to go...
did that help at all?
edit:// looks like I got beat to it... when I clicked reply no one else had posted yet, lol
BLaZe23
04-06-2003, 11:56 PM
Thanks so much you guys...I went to other sites before this one and they made it seem so complicated. Ick, i hate when they do that. Thanks a lot
BLaZe
PikaBean32
04-07-2003, 09:01 PM
ur welcome, glad to help :D