dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Howto create break spacing after forms and images, etc

  1. #1
    Join Date
    Aug 2006
    Posts
    2

    Howto create break spacing after forms and images, etc

    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!!!

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    <img >
    <div>text to appear below image</div>

  3. #3
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    And if the text is actually a paragraph you could use a <p> instead of a <div>.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles