Solved

How to find more like this

Posted on 2000-03-21
6
122 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

910 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

22 Experts available now in Live!

Get 1:1 Help Now