There was a problem today when you hide the table row Tr
$id ("TR_" + ID + "_1"). Style.setattribute (' Csstext ', "display:none;");,
Table row Tr Inside the Select is not hidden in the IE6, or will be displayed in the page. You want to set a single
Assuming there are two box, we need it with a minimum height of 150PX.
Css
div.box1,div.box2{
width:300px;
min-height:150px;
Background: #EEE;
Float:left;
margin-right:20px;
}
Xhtml
The minimum height in the ie is 150px
minimum height can be set to
Common code:
This is a div
var Div=document.getelementbyid (' div ');
The first: with Csstext
div.style.csstext= ' width:250px;height:250px;border:1px red solid; ';
The second type: Using SetProperty ()
Div.style.setProperty (' width ', '
1, a lot of compatibility problems, because different tags in different browsers have different padding margin default values. So you can define it beforehand.
Copy Code code as follows:
* {padding:0; margin:0;}
Or
Copy
The old topic: the separation of an ancient poem
1. Give you an ancient poem, save it as a pile of text without any form, you understand its content and do the structure. After using word layout, he has a structure
2. This structure actually
1, Alpha Filter
syntax: {filter:alpha (Opacity=opacity,finishopacity=finishopacity,style=style,startx=startx,Starty=starty,finishx=finishx,finishy=finishy)}
The Alpha attribute mixes a target element with the background. Designers can specify
One, type selector
Body
{
font-size:12px;
}
{
Color:blue;
}
A selector for the name of an existing label type on a Web page, as indicated above: all text within the body label is 12px, and the text color in the paragraph is blue.
Second, group
Through our great CSS, we can achieve a very beautiful progress bar style. With the effect of Javascript, we can completely "deceive" our users, so that they have the patience to wait for the browser to complete the process. The above principle
Menu File New Open save as Close Edit Cut Copy paset Delete select all View View List tool bar state bar function list label list show line Number& lt;/li> set color
[Ctrl + A All SELECT Note: If the need to
Button drop down menu
Combined with. Btn-group (BTN-GROUP-LG/BTN-GROUP-SM/BTN-GROUP-XS). Dropup btn. Dropdown-menuThe button Pull-down menu is encapsulated on the basis of an ordinary Pull-down menu. The BTN style has an effect, similar to clicking
This example for you to share the bootstrap input frame group of specific code for your reference, the specific contents are as follows
Learn why the table width for Table-cell is set to 1%.
Http://www.tuicool.com/articles/VzUVfyi
By adding the
CSS selectors can include, tag Selector, category selector, ID selector, intersection selector, and set selector, descendant selector, global selector, pseudo class, etc., these style applications have been supported in Flex
1. Tag Selector
The tag
Of course still use the picture, just can produce the color that oneself need picture.
http://www.neuroticweb.com/recursos/css-rounded-box/
The picture that is generated above and the following code exist under the same folder:
css fillet
To prevent the crawler from searching your email address, you can write it backwards, and then use the style to bring it back again with the following code:
The effect is as follows:
My e-mail moc.liamg@100yxuod
My mailbox moc.liamg@100yxuod
The idea is very simple, the code is very concise, the effect is also good, very useful (this high-grade dongdong IE nature is not recognized).
Copy Code code as follows:
* {outline:2px dotted red}
* * {outline:2px dotted green}
css table 1px border Cell--Cloud Community Cloud-dwelling community Cloud-dwelling community cloud-Habitat Cloud-Habitat cloud-Habitat Community & lt;/td> Cloud Habitat Cloud Habitat Cloud Community
[Ctrl + A
IE Direct use:
Word-break:break-all; /* Allow the word to change the line * *
Word-wrap:break-word; /* content will be wrapped within the boundaries of the line * *
/* The default to note is: * *
Word-wrap:normal/* Allows content to be opened at
...
In Global.css, it was declared
#myArticle {
width:400px;
height:300px;
}
In this case, directly through JS getElementById (' myarticle '). Style.width is unable to get 400px value because this value is defined in CSS, so you have to use
For example, 210px in the ul width of 4 Li, respectively, the width of the 4 Li according to their own content of the length of 80px, 120px, 140px, 80px.
The effect I need is 4 Li to the left automatic arrangement. When the length of the third Li
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service