It is normal. Relative positioning doesn't take the element out of the flow of the document. It only shifts its position relative to where it otherwise would be. If you want to take the element out of the flow of the document, use absolute positioning. This will place the element absolutely on the page starting from 0,0 (the upper left corner of the page, which can be a hassle getting right for various sized windows, etc.). If you want to use a departure point from within the document, rather than to position absolutely on the entire page, you can use this sort of thing:
Code:
<div style="position:relative;height:0;width:0;overflow:visible;">
<img style="position:absolute;top:5px;left:300px;" src="some.gif">
</div>
The division will be in the flow of the page but takes up no layout space. The image will be in relation to the division's position and also takes no layout space.
Bookmarks