Link to home
Start Free TrialLog in
Avatar of davlun20080
davlun20080

asked on

How to find more like this

Hi There,
I have been picking apart sites to see how pages are put together and came across this tag, but I can not find it's use in any of my books.  I can however guess it's purpose from the way the page layout appears on the screen, the next line drops down below the picture to the left.

Here is the code: <br clear=all>
Where can I find more things like this, ie not in the reference books I own.  I know there are a lot of tricks like this out there...

davlun
Avatar of cybernietic
cybernietic

The tags clear are used when you want text to continue down the side of an image as it would in a book, not have just one line of text next to it.
Note: This is supported by most browsers, but not all. Your layout will not appear the way you plan, but the content will not be affected.

The trick is to set your images with either ALIGN="LEFT" or ALIGN="RIGHT". In either situation, the image comes before the text! Be certain to always end with the proper <BR> tag- even if a <P> is after the text.

<BR CLEAR="LEFT"> is used after the text in a left aligned image to clear the margin back.
<BR CLEAR="RIGHT"> is used after the text in a right aligned image.
<BR CLEAR="ALL"> takes care of all situations, feel free to use this one and not worry about it!
ASKER CERTIFIED SOLUTION
Avatar of TTom
TTom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of davlun20080

ASKER

cybernietic,
thanks for the link and the explanation of the the br tag, however ttom's answer is more in line with what I was looking for since he was correct, the tags are part of the html4 specification.

thanks again,
davlun
Thanks to all,
davlun
Most welcome!

Tom