Js controls fieldset height code to easily control the height of fieldset
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
FieldSet is an HTML tag that is not commonly used, and is interesting in its syntax as follows:
The fieldset element is used to group elements in a form and to distinguish text in a document. It is somewhat similar to the behavior of the window frame. FieldSet is available in the Internet Explorer 4.0 and above vers
When a set of form elements is placed inside the The The Differences between HTML 4.01 and HTML 5HTML5 has the following properties: These properties are not supported in disabled, form, name,html 4.01.Property
Properties
value
Description
Disabled
Disabled
Specifies that fie
FieldSet is an HTML tag that is not commonly used, and is interesting in its syntax as follows:In IE, if you do not add css,fieldset effect is rounded, but added a CSS will become a square corner of the.In Firefox, the effect is square corner.
Examples are as follows:
The following is a code fragment:Welcome to our site!soking ' s desk.12px;font-famil
Comments: Previously, HTML was not easy to learn, which made it very novel to see the style of the control group. fieldset> tags pack part of the Form Content and generate a set of related form fields, the following describes how to use the fieldset tag in HTML. If you are interested, you may find it helpful.
I. Regre
An infrequently used HTML tag fieldset, but I think it's more interesting, and its syntax is as follows:Here is a code example:The actual effect of the code is as follows:
User Login
Account:
Password:
fieldset Tags--grouping the forms
This label is paired up to start to end
A single form can have multiple, each pairFor a gr
One, confession Anshan treatment of psoriasis the best hospital www.pfk0412.netBefore the HTML is not good to learn, resulting in the previous view of the control group style feel very novel, and then using CSS to achieve a. But accidentally once contacted this label, only then found so easy. Alas, after learning knowledge not to be tasted, we must go deep into, comprehensive understanding. Well, do not spray, as you write to yourself, do a warning. b
The problem of horizontal and vertical center in html. (Fixed height and height), html Center
In the layout process, we need to center some elements. I believe that there is no problem in horizontal ranking, that is, the use
Margin: 0 auto; text center text-align: center.
What I want to tell you is about overall Center
;left:50% margin-left:-50px;The effect is as follows:the use of negative values allows the label to be close to the parent element, so that we can achieve the center effect.2 in case of high uncertainty .In fact, the principle is the same , but in the height of uncertainty, we can not select the height of half, just change the code part:Position:absolute;top:50%;left:50%;Transform:translate (-50%,-50%);This
Why to set the height of HTML and body?In some more formal sites often see the height of the HTML and body will be set. is for the right display of the back div height.Div 100% is from its upper-level div of the wide-high inheritance, it is very important to set the div100% display, you must set its upper div width or
Exploration on the height of the browser window, document, html, and body, windowbody
First, describe the calculation of the elements I understand.
Windows height should be the overall height of the document window (if there are no scrolling entries on the browser, calculate document.doc umentElement. clientHeight
The
Problem: Declared in HTML page, page Div property Settings 100% page is not displayed properlybody { max-width: 720px; margin: 0 auto; }.case { background-color: #68CDD5; height: 100%; }The case in the page is the largest div class, set the height:100%, the page does not display properly, the blue part is not covered with the entir
This article focuses on the method of setting the height of label labels in HTML. There is also an introduction to how to use HTML label tags. Let's take a look at this article about HTML label tags.
First, let's look at how to set the height of the label label in
This article mainly introduces the height and width information of screen, browser and page in Web environment.Directory1. Introduction: Introduce the container of the page (screen, browser and page), physical size and resolution, display and other content.2. Screen information: Introduction of screen size information, such as: screen, software available, and the height and width of the taskbar.3. Browser i
This article mainly introduces the height and width information of screen, browser and page in Web environment.Directory1. Introduction: Introduce the container of the page (screen, browser and page), physical size and resolution, display and other content.2. Screen information: Introduction of screen size information, such as: screen, software available, and the height and width of the taskbar.3. Browser i
This article mainly introduces the height and width information of screen, browser and page in Web environment.Directory1. Introduction: Introduce the container of the page (screen, browser and page), physical size and resolution, display and other content.2. Screen information: Introduction of screen size information, such as: screen, software available, and the height and width of the taskbar.3. Browser i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.