Forum Moderators: open
As for a solution; can you post some code to give us a little more detail?
<html>
<title>Molecular Photonics Laboratory - Home</title>
<? include("header.php")?>
<head>
<meta name="Keywords" content="Molecular, Photonics, Photophysics, Harriman, Spectroscopy">
</head>
<body>
<p> </p>
<span style="position: absolute; left: 10; top: 190">
<p align="left">
<DIV ID="TICKER" STYLE="overflow:hidden; width:948px">
Latest News:Dr. YongGang Zhi has joined the laboratory.
</DIV>
<script src="webticker_lib.js"></script></span>
<span style="position: absolute; left: 290; top: 275">
<img src="pictures/group_photo.jpg" width="500" height="376" border="0">
</span>
<p> </p>
<p align="left">
<span style="position: absolute; left: 384; top: 676">
<font color="#FF0000" face="Arial" size="5">
Contact us at <a href="mailto:MPL@ncl.ac.uk">MPL@ncl.ac.uk</a></font></span></p>
</body>
<body>
<p align="left">
<span style="position: absolute; left: 7; top: 677">
<img src="pictures/image002.gif" width="958" height="139" border="0"></p>
</body>
</html>
The last picture image002.gjf is the one that does not move with the change in text size. I realise that this is probably because of the "absolute" tag however I have tried the use of "relative" with no luck.
When you make an element position: absolute;, you take it out of the document flow; it ceases to have any impact on the positioning of its neighbouring elements. Increasing the size of an absolutely positioned element will just cause it to overlap its neighbouring elements, not push them out of the way.
You want the elements above the image to push it down if they get larger. Therefore none of them can be positioned absolutely. For the image to react to the pushing, it needs to be in the document flow too, so no absolute positioning here either.
Your safe bets are position: static;, the default for <div>s, and position relative;, which will allow you to move things around with top: and left:. Of course you can always use margins to move things around with either type of positioning.