Should i use frames html
The margins of the frames or the space between the borders and the content can be adjusted using the attributes marginwidth and marginheight. They are specified in pixels. The attribute scrolling indicates whether the frame has or not a scroll bar. The values of the options are yes, no and auto. YES means that the scrollbar is always there, even if it is not needed.
NO means that the scrollbar is never viewed. Auto means that the scrollbar bar appears only when necessary, that is, when the content does not fit in the window. It is used only when it is not possible to change the size of a frame. You may find more information about frames and the different options in any HTML manual. Otherwise, it creates an empty page and the frame tags are not taken into account. What we can do is use frames with GeneXus. To do so, we must define a page in HTML only with the definition of the frames, which invokes the web panels.
As we said, dividing a page in frames is very useful to organize the information. By using frames you can avoid including redundant information in all the Web Panels or pages of the site. It is not an attack on the concept of frame-based layout. The article is divided into two sections: at a glance and in depth. One of the main problems is that the focus is on layout , not on the structure.
The HTML markup language was designed to be a platform-independent way to indicate the meaning of the contents. This way, each browser can render the document on whatever platform it is running on.
Frames violate this principle; everything is designed to accomodate only browsers running on big-screen graphical displays. The central concept is the frameset. But as a user "clicks through" a site, there no longer is a way to store the state that the frameset is in now.
This is because framesets are not addressable. The information about the position in a frameset is not present in the document in the frame. Similarly, the TARGET attribute requires that the author remembers and determines the target frame of the linked document.
And, most obvious, frames are totally incompatible with browsers that do not support it. Let's put the above example as follows, here we replaced rows attribute by cols and changed their width. Specifies how many columns are contained in the frameset and the size of each column. Absolute values in pixels. A percentage of the browser window. Using a wildcard symbol. In this case wildcard takes remainder of the window. As relative widths of the browser window. This is an alternative to percentages.
You can use relative widths of the browser window. Here the window is divided into sixths: the first column takes up half of the window, the second takes one third, and the third takes one sixth. This attribute works just like the cols attribute and takes the same values, but it is used to specify the rows in the frameset.
You can specify the height of each row in the same way as explained above for columns. This attribute specifies the width of the border of each frame in pixels. A value of zero means no border. This attribute specifies whether a three-dimensional border should be displayed between frames.
This attribute takes value either 1 yes or 0 no.
0コメント