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
Here's a general code:
Css:
Copy Code code as follows:
. box{
border:1px solid #ccc;
font-size:12px;
Background: #f1f1f1;
padding:10px;
}
Html:
Copy Code code as follows:
this is a gray box
for block-level elements such as Div,p
Wrapping of normal text (Asian and non-Asian text) elements have a default white-space:normal, which is automatically wrapped when the width is defined
Html
Normal text Wrapping (Asian and non-Asian text)
As long as the haslayout of IE is triggered, the non floating element will have a layout. So, using the IE6-specific hack rule, writing the style for it alone fixes the problem:
_zoom:1;
Margin-left:value;
_margin-left:value-3px;
Zoom is one of
Use classes as sparingly as possible, because you can cascade the recognition, such as:. News H3 without having to add class to the H3
3. With no existing elements to distinguish between the use of Div
Home
about us
can be changed
Originally thought this piece is to be done by the backstage alone, today sees this effect, incredibly is the CSS realizes. Now put it here to share with you
Special recommendation 1. Script code Collection Station, Ajax/js/asp/php catch
Let's talk about some of the problems that we found in the process of trying
1, Box model problem
Believe that playing refactoring or div+css friends should know this thing, nonsense not to say, do not know and interested can go online search. Here
Serial number Chinese description Mark grammar remark
1 background Color {background-color: value}
2 background picture {Background-image:url (URL) |none}
3 background Repeat {background-repeat:inherit|no-repeat|repeat|repeat-x|repeat-y}
4
General class
Overflow:hidden, automatically hide the excess content, prevent the open layer and the scope of the table
!important
Specify application precedence for style rules
Type color: #FF0000; text colors font-family: "Arial", "Helvetica",
There are experts on bi that specialize in this layout approach, but he uses more hack and avoids the IE6 DTD. In practice, I find that avoiding the IE6 DTD definition will cause the Ajax modal box to be centered (vs. a control that automatically
One, less to use the door.
Like Break-word line breaks, Z-index manual layering, and vertical alignment, and so on, these partial-door CSS is best to use, because not all browsers are supported, and it is extremely difficult to pass the
See most of the pages in some Web sites written like this
And a lot of websites are using link
And like Google Baidu 163 and other sites they are directly written in the Web page
Of course, the advantage of linking link and import imports is
The looks like this:
Internal Medicine Surgery Obstetrics Pediatrics Facial features & Lt;a href= "/m/page_40.html" title= "Chinese Medicine" > TCM branch Emergency department stomatology Department Pain Rehabilitation
css picture list, horizontal vb timed Shutdown Source code example A handy C + + log generation class js+ CSS joint graphics and text combination dynamic menu
[Ctrl + A All SELECT Note: If the need to introduce external
css add shadow to picture Mouse Move up to show sleek shadows var imgbg=document.getelemeNtbyid (' Profileavatar '). getElementsByTagName (' I ') function show () {for (I=0;i
[Ctrl + A All SELECT Note: If the need to introduce
Photo News one Photo News II &L T;div id= "id_portal_imgnew3" class= "Pp_portal_imGnew "> Photo news three Photo news four 1 2 3 4
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh 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 ', '
Official website Documents
Http://www.yiiframework.com/doc-2.0/guide-structure-assets.html
The Yii directory runs
Asset/template assets.php
Generates assets.php, which is a configuration template and modifies the following
' Java-jar
CSS Graphics switching practice tutorial from snwebsite 123
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
First word amplification practice _ Cloud Habitat Community _www.jb51.net Foot Home WWW.JB51.N Et.
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
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