![]() |
#1 |
Registered User
Join Date: Nov 2012
Posts: 61
|
CSS browser compatibility skill.
(1), if the use CSS float statement, the best in the CSS to display: inline, , the purpose is to avoid the IE6 and IE7 floating in the produce of margin double spacing.
(2), if it is the parent of CSS, and border border display, remember to add in CSS overflow: hidden; , the purpose is to let the parent element to avoid cannot contain sub-elements cause child elements beyond parent elements of the border. (3), if in IE6, parent element can't quilt element expansion, in CSS to zoom: 1; , the purpose is to trigger the IE6 Haslayout attribute, make parent element can quilt element expansion. (4), if the IE use ul li dl dt dd this list elements, list are span tags, can lead to span tag line feed, at this time we need in the CSS to span element and tag set respectively a width, and then in the left floating and right floating. (5), if used in IE line - height no effect, we must in CSS to join the current DIV heigt of attribute, so in the IE line - height can have effect. 6, if you want to use blank of words, we had better not use margin space interval, the best way is to use:. Blank {clear: both; Height: 8 px; Line - height: 8 px; Visibility: hidden; } such a code, the code can easily achieve the purpose of the web space, is very nice. 7, if you need to clear floating suggest you use this code:. Clear {clear: both; Height: 0; How 0; Overflow: hidden; Padding: 0; } this code, this is nice.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Dec 2013
Posts: 16
|
IE always make the most suffering people coder
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. không khó, hãy mua To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. để biết To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Browser - Epic Launched!!! Share your views... | munna85 | General Discussion | 1 | 01-02-2014 04:42 AM |
Just stumbled across this browser what do you think | eurozulu | General Discussion | 2 | 01-02-2014 04:15 AM |
Chrome is an awesome browser | anchorchain | Review My Website | 1 | 11-20-2012 07:28 AM |
Browser compatibility | davikerkrish | Programming General | 3 | 07-27-2012 04:12 AM |
Web browser emulators | mjvndhsb | HTML / DHTML | 0 | 10-07-2011 08:52 PM |