top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How do I stop text from wrapping around an image?


You may not want all of your text to wrap around an image, here's how you can stop the text from wrapping.

How to do it

To stop your text from wrapping around your image, simply place a <BR CLEAR="?"> tag where you want the text to STOP wrapping.

Then, replace the ? with either left, right, or all. (left if you want the text to continue when the left margin is clear of images, right if you want the text to continue when the right side is clear of images, or all if you want the text to continue when both margins are clear of images.

Your code should look like this:

<BR CLEAR="left">

or

<BR CLEAR="right">

or

<BR CLEAR="all">

EXAMPLE


<img src="clown.gif" ALIGN="left">
This text will wrap around the right side of the image. This text will wrap around the right side of the image. This text will wrap around the right side of the image.
<BR CLEAR="left">
This text will not wrap around your image. This text will not wrap around your image. This text will not wrap around your image.

Will show this:

This text will wrap around the right side of the image. This text will wrap around the right side of the image. This text will wrap around the right side of the image.
This text will not wrap around your image. This text will not wrap around your image. This text will not wrap around your image.



<img src="clown.gif" ALIGN="right"> This text will wrap around the right side of the image. This text will wrap around the right side of the image. This text will wrap around the right side of the image.
<BR CLEAR="right">
This text will not wrap around your image. This text will not wrap around your image. This text will not wrap around your image.

Will show this:

This text will wrap around the left side of the image. This text will wrap around the left side of the image. This text will wrap around the left side of the image.
This text will not wrap around your image. This text will not wrap around your image. This text will not wrap around your image.



< BACK







Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!