Solved

How to find more like this

Posted on 2000-03-21
6
121 Views
Last Modified: 2010-04-09
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
0
Comment
Question by:davlun20080
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Expert Comment

by:cybernietic
ID: 2643631
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!
0
 
LVL 1

Expert Comment

by:cybernietic
ID: 2643640
0
 
LVL 9

Accepted Solution

by:
TTom earned 50 total points
ID: 2645275
davlun20080:

I suspect you are working with HTML 3.2 references.  Try an HTML 4.0 ref.  Might have a lot of new little tricks.  Unfortunately, many not supported yet.

I'm not totally sure this is the case, but I have seen a number of things I thought were new in the recent past, and they pretty much came from 4.0 refs.

FWIW, I have never seen the "clear" designation either.

Another cute one I learned (although I think this one is 3.2 or earlier) is that, if you specify an alignment for a table, e.g., <table align=left>, you can get text to "wrap" alongside the table.  Only works for left and right, and the alignment MUST be specified.  If no alignment is specified or the alignment is center, the text drops below the table.

Tom
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 3

Author Comment

by:davlun20080
ID: 2686321
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
0
 
LVL 3

Author Comment

by:davlun20080
ID: 2686323
Thanks to all,
davlun
0
 
LVL 9

Expert Comment

by:TTom
ID: 2686896
Most welcome!

Tom
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now