Why are my images positioned further down the page as size increases?
- January 31, 2010
- 1 reply
- 341 views
Hello,
I'm experiencing a problem with images that I'm a little baffled about.
My image tag is listed as below and comes below text in other plain paragraph tags.
<p><img id="p_image" height="411 width=312 source={src} styleName="image"/></p>
The image is not appearing. If I decrease the height to 50 it appears (obviously skewed though) and is positioned below the text.
If I increase the height to 300 it appears but now the top of the image is further below the text.
If I set the height to 411 it doesn't appear I assume because the combination of the image height as well as the increased space between the top of the image and the preceding paragraph puts it off the page.
Why does the space below the paragraph increase as the image height increases?
Images attached.
Any help is appreciated.
Thanks, peter
