This is the second and last part of my series on temporary web page processing. In this part of the series, I talk about the layout of the panel (Form). If the panel becomes large, with many elements, then you need to give its layout some consideration. Before I start that I will first talk about a second method of removing the Panel.
Completing Temporary Web Page Processing - Spaces Within the Cell (Page 4 of 4 )
Using the <br /> element, as I said above, will give you a horizontal space right through the cell. If you want a vertical space, there is no equivalent element for that. However, you can give arbitrary spaces using dummy SPAN elements. If you want a SPAN element space of one space character width, use the following:
<span> </span>
If want spaces of two and three characters, use the following respectively:
<span> </span>
<span> </span>
The ‘ ’ character is used to create a space of one character. You can put SPAN elements like each of the ones above below one another, to have a long vertical space; the trouble is that you may not have alignment in the vertical edges of the space, because characters generally have different widths.
Replacing the Process Info Button
When you click the Process Info button you see the panel. Any element that responds to the onclick event can serve this purpose. Well, you do not only have to produce the panel by clicking something. You can have an element that responds to the onmouseover event. You do this by replacing the Process Info button with the element. For the attribute, replace “onclick” with “onmouseover.” The function in the value of the attribute remains the same.
We have come to the end of the two-part series. I hope you appreciated it.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.