The CSS padding property defines the inner margin of an element. The Padding property accepts length or percent values, but negative values are not allowed.
For example, if you want all H1 elements to have 10-pixel internal margins on each side, this is all you need:
h1 {padding:10px;} You can also set the inner margin of each edge in the order of the top, right, bottom, and left, with different unit or percentage values for each edge:
The code is as follows
Copy Code
Problem: In the use of marquee label content scrolling found that content in the IE8 can not be continuously scrolling, that is, "content does not disappear from the Web page" repeatedly rolling. Scrolls directly when the width is full once, without scrolling the rest of the content continuously.
Reason: IE8 no longer supports marquee
Workaround: Add
In addition: If individual
IE8 will have multiple compatibility modes . IE platform architect Chris Wilson wrote in his blog that the IE platform's job is to provide interoperability (Web pages work in different browsers) and backward compatibility (compatible with previous versions of IE browsers). If you want IE8 to continue to be compatible with the current billions of web pages, and also meet the goal of making the next billion
The Oracle database problem caused by IE8 being unable to enter the debug mode. in the B/S system for development, you need to enter the debug mode of IE for debugging. However, the debug window flashed through, you can only turn off the 360 series software. There is no problem before, but the problem only occurs after the 360 browser is installed. So I tried to uninstall the 360 browser and reinstall IE8.
Recently do WordPress theme, encountered a very strange problem, Web pages in chrome and other browsers are displayed normal, but in the IE8 inside can not work. The prompt "loaded, but there is an error in the webpage".Try to fix IE browser, but nothing. Later, after repeated troubleshooting, the problem is that IE8 cannot run jquery. On the internet for a long time and did not find relevant articles. And
IE6 Div Dislocation problem Original: ChinafineThe use of "Float:left" div in IE8, IE7, there is no problem, IE6 down, there is a blank. This is because the kernel used by the IE6 by default adds the distance between the div to three px, so try to add "margin-left:-5px" to the style of the lower Div. or smaller.Resolve IE7, IE8 style incompatibility issuesMethod One, to add the following HTTP Meta-tag to th
Detailed source reference: http://www.jb51.net/css/15987.html
During the tab switch today, we encountered a problem. IE8, IE7, and Firefox did not parse the PX height in a uniform way. We plan to start! Important solved the problem and later found that IE7 and IE8 all support this. It cannot be judged at all. So I found an article on the Internet.
We used most of the CSS hack for Firefox IE6 IE7
The latest Microsoft browser IE8, which has long been expected by many Internet users, was officially released in the United States on the 19th (Internet Explorer 8 Simplified Chinese download ). The new version of the browser has significant performance improvements in many aspects, and will undoubtedly play a positive role for Microsoft to maintain its current position in the browser market. However, IE8
Do you know the ultimate CSS compatibility solution for IE7 IE8 officially recommended by Microsoft? I 'd like to share with you here, all web page makers want their own web pages to be perfectly compatible with all mainstream browsers, including IE6, IE7, IE8, Firefox, opera, Safari, chrome, etc!
The ultimate CSS compatibility solution for IE7 IE8 -- officiall
Today I read the article "IE8 's WebSlices" in Blueidea, but I also had a new experience on the day IE8 Beta 1-and the WebSlices experience was different.
Grab fresh Experience Today IE8 Beta 1 (hereinafter referred to as IE8), IE8 provides a lot of good experience, I do no
The address bar to everyone's impression is just a fill in the URL of the input box, even if the IE8 browser should also have nothing special, but the new version of the IE8 in the address bar but this time is different from the past. When we enter content in the IE8 address bar, the smart Address bar matches the history, favorites, RSS feeds and what we enter, a
Used IE8 for a long time, for the previous did not use the "copy" "Paste" did not feel this window tips what annoying, until recently began to do the station to often use the computer "copy" "Paste" function just feel this thing very annoying.
When pasting, the following boxes will pop up as shown
Computer knowledge
First Open IE8, the top tool-Internet option-secur
Although there are many third-party excellent browsers, but many users still prefer to use the Windows system with the Internet Explorer, in the Win7 system IE browser is not only simple, and multi-tab operation is a lot of users like one of the reasons, but as users in the use of Internet Explorer more time, It's going to be obvious. IE browser speed slows down, even have no response to the problem, what is the cause of this problem? The following Hedong Software Park for everyone to collect ha
Some netizens respond when using the IE8 browser label in the edit box, the browser always prompts: Do you really allow Web pages to access the Clipboard? It's very inconvenient to be there every time.
The following small compilation teaches you how to remove this hint.
1. Open the IE8 browser and select Internet Options in the tools.
2, in the pop-up "Internet Properties", we move to the "Securit
If you write the attribute height as not all lowercase, such as window.screen.Height or Window.screen.heighT, you can get a value (IE6, IE7 case-insensitive) under IE6 and IE7. Under IE8 for undefined (IE8 is case-sensitive), the problem occurs.
Cases:
Copy Code code as follows:
WORKAROUND: Replace all HTML, JS, and JSP files directly without case sensitivity.List of attributes that are kn
My logo code:
Header A#logo {display:block;top:10px;width:380px;height:75px}
Finally find the answer on the Internet, IE8 browser picture more than a colored border, and Chrome browser does not have a border solution.
Specify the border style for IMG:
img{Border-style:none;}
another way is to directly add a border=0 to the tablet.
Attached: PNG picture has a black border under the Ie8 browser
First, the next problem in the IE8 code
1, the Jquery.validate verification framework is through the page Form form submission Verification
Where the Name property is consistent with the properties in rules in the following JS
2, JS binding Validate event code is as follows
$ (function () {
initcardtypefrmvalidate ()
})
function Initcardtypefrmvalidate () {
$ (' #cardTypeFrm ') ). Validate ({
onkeyup:false,
CSS can refer to the following definition, note order:
The code is as follows
Copy Code
#menu {line-height:23px;} * * Firefox browser to implement this definition#menu {line-height:26px9;} /*ie6,ie7,ie8 This sentence defines the main cusp to IE8 to hack*/#menu {*line-height:23px;} /*ie6,ie7 This sentence defines the main cusp to IE7 to hack*/#menu {_line-height:23px;} /*ie6 Brow
The code is as follows
Copy Code
Results IE8 under Next.gif line, Firefox normal. As long as the float:right span to the front can solve the problem of line-wrapping, IE8 and Firefox are normal. The code is as follows
code is as follows
copy code
Blog Park Flash Paging is generated with JavaScript, today found in the IE8 click on the page number can not be paged, the paging operation is in the current page number of the OnClick event.
The start code is written like this:
Copy Code code as follows:
var a = document.createelement ("a");
A.setattribute ("onclick", this.) Clickfunctionname + "(" + PageIndex + "); Pager.setcurrent ("+ PageIndex +"); ");
Because
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.