|
Seventh -> RE: Fix window size on load (10/19/2002 22:03:39)
|
First, if I came across as insulting your understanding of HTML, I apologize. That was not my intention. So let' s try and keep this as an educational review for those who may not have a clear understanding of my explatnation. Agreed? Then let' s begin. #1. Definition of a tag: A tag is simply a set of containers used to denote/mark the various elements in an HTML document for your browser. HTML tags consist of a left angle bracket (<), a tag name, and a right angle bracket (>). Tags are usually paired (e.g., <H1> and </H1>) to start and end the tag instruction. #2. Definition of the BODY element: The second--and largest--part of your HTML document is the body, which contains the content of your document (displayed within the text area of your browser window). This information, the content, is placed inbetween the <BODY></BODY> tags. Some elements may include an attribute, which is additional information that is included inside the start tag (e.g., <BODY onload=" window.resizeTo(655,450)" >). What I specifically stated was that the onload feature should be added to the body tag Not after, not before, but in.quote:
Add this to your body tag: onload=" window.resizeTo(655,450)" 655 is the width 450 is the height Where does the contradiction part come into play? You said:quote:
The code is not inside the <body> tag it is in the body of the document. First, you did not clarify as to whom your were making a reference to. I responded as if you were responding to my post. But I now think you were referring to Mosky' s first test page using the information I provided. Second, my instructions, again, were to place the information into the body tag. Your example of what I stated was what activated my response. It was exactly what I instructed Mosky to do.quote:
Like: <body onload=" window.resizeTo(655,450)" > Where I may have made a mistake is in assuming Mosky would know the difference between a body tag and content within the body element. My assumption was wrong. All in all this was simply a misunderstanding on both our parts. So I apologize for my part in the confusion. I will strive to provide examples in future posts. Still friends, Gil?[;)]
|
|
|
|