Click to See Complete Forum and Search --> : Howto create break spacing after forms and images, etc


abjacs
08-29-2006, 09:25 PM
Hi, I am creating an HTML page that contain both images and a form.

I am having trouble with the spacing I desire showing up after images and forms.

To be more specific, I am inserting an image (and form) into the html page and then writing text after the image. I would prefer for the text to show up below the image and not on the same "line" as the image/form.

Here is a primitive example.
Note, "xxx" denotes the image or form.

xxxx
xxxx
xxxx text here

Preferred output:

xxxx
xxxx
xxxx

Text here...

--------------
Is there no way to have this type of effect without introducing an arbitrary number of <br/> tags after the image/form elements?

Thanks!!!

felgall
08-29-2006, 10:13 PM
<img >
<div>text to appear below image</div>

ray326
08-29-2006, 10:27 PM
And if the text is actually a paragraph you could use a <p> instead of a <div>.