We all knowPre-formatted text can be defined. A common application is to represent the computer's source code. Text enclosed in the pre element usually contains spaces and line breaks, but unfortunately, when you write code in the
At this time, you can useOverflow: auto;(When the Code exceeds the container boundary, a scroll box is displayed.) But this method does not apply to all mainstream browsers, and some browsers directly truncate the excess content.
Since there were not many places w
A highly adaptive IFRAME function is required for the project.
Searching on Google for a long time
Find the following JS
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Function setcwinheight (OBJ)
{
VaR CWIN = OBJ;
If (document. getelementbyid)
{
If (CWIN ! Window. Opera)
{
If (CWIN. contentdocument CWIN. contentdocument. Body. offsetheight)
CWIN. Height = CWIN. contentdocument. Body. offsetheight +
See the following
Code :
Copy code The Code is as follows: filter: alpha (opacity = 50);/* ie */
-Moz-opacity: 0.5;/* Moz + FF */
Opacity: 0.5;/* supports css3 browsers (FF 1.5 is also supported )*/
Internet Explorer uses the private attribute filter: alpha (opacity), Moz family uses the Private Attribute-moz-opacity, and the standard attribute is opacity (CSS 3, the Moz family part supports css3 ). The following value is transparency. The percentage or decimal number (alpha (opacity) is used
Opera is an excellent network browsing kit from Norway. It features fast speed, saving system resources, strong customization ability, high security, and small size, it is now one of the most popular browsers. Multi-Document Interface (MDI) convenient scaling, integrated search engine, shortcut keys and mouse gestures, Browsing History Memory, preventing malicious pop-up windows, full screen mode, HTML standard support, integrated email and news group
Remove the association between opera and thunder
After thunder 7 is installed, all mainstream browsers will be downloaded by thunder by default. This action seems very convenient, but it is actually a bit overbearing and "forced. The user has no right to select. Everything was done by thunder.
So how can we cancel the hold on the Opera Browser by thunder?
Open operabrowser, select "menu"> "Settings">
Today we are learning about CSS alpha-transparency-related knowledge.
Knowledge about CSS alpha transparency. First, look at the following code:
Copy Code code as follows:
Filter:alpha (OPACITY=50); /* IE * *
-moz-opacity:0.5; /* Moz + FF */
opacity:0.5; /* Support CSS3 Browser (FF 1.5 also supported) * *
Simply explained, IE uses private property filter:alpha (opacity), Moz family uses private property-moz-opacity, and standard attributes are opacity (CSS 3, Moz famil
property value supports expression expressions. Therefore, we can implement the Max-width property effect for IE 60 percent.
. css-hack {background-color:red;max-width:200px;_width:expression (function (Me) {var maxwidth = Me.style.width = (me.offsetwidth }Below, we will discuss IE 6-11, FireFox, Chrome, Safari, opera and other browsers CSS hack technology, for specific browsers to identify specific properties (domestic browsers generally use IE or
;}
The effects of the above Code implementation in IE7-IE9 and Chrome is no problem, but in IE10, FireFox, Opera is not so ideal, for this problem, we can use a Jquery-based plug-in grayscale. js to achieve, so that you can be compatible with IE10, FF and Opera.
Download the grayscale. js Plugin: Click to download
Download jquery Library: Click to download
To download the latest version, go to the of
Some friends want to copy functions on the clipboard, but a lot of code on the Internet cannot run, and various other symbols lead to the unavailability of the script. the webmaster of the script house specially sorted it out and corrected the error. It must be noted that you must set it in firefox.
Signed. applets. codebase_principal_support
In the address bar of the firefox browser, enter "about: config" in the filter and double-click "signed. applets. codebase_principal_support" to set "true.
Due to the fact that some URL protocols are not strictly implemented, the URL spoofing vulnerability is caused by opera's failure to specify mediatype and data when implementing the data uri protocol. however, the capacity cannot be controlled at this time. in opera, data uri inherits the "valid tive script origin" of the parent form (which can be understood as document. domain), so we can set opener. location or open () A new form to cheat. POC: cli
There is a small project that requires users to jump to different locations on the mobile side, but the data indicates that some users are based on the PC segment of the Chrome opera phone simulator, how do you block or jump to the PC page?
Reply content:
There is a small project that requires users to jump to different locations on the mobile side, but the data indicates that some users are based on the PC segment of the Chrome
Download arbitrary files from a site in Opera (intranet root)
GET //../../../../../../../../proc/net/tcp HTTP/1.1Host: snow.opera.comConnection: Keep-aliveAccept-Encoding: gzip,deflateUser-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4Accept: */*
Download/proc/net/tcp and get the local IP address 790FC30A, that is, 10.195.15.121root user, readable shadow:
Opera10 official version is released today. Opera is an excellent network browsing kit from Norway. It features fast speed, saving system resources, strong customization ability, high security, and small size, it is now one of the most popular browsers. Multi-Document Interface (MDI) convenient scaling, integrated search engine, shortcut keys and mouse gestures, Browsing History Memory, preventing malicious pop-up windows, full screen mode, HTML s
This is my Chinese speed dial. This is an extension of operabrowser. The extended function is to reduce the number of opera speed dials. Sometimes you may have added all the websites you are interested in to your speed dial, and some useful websites have no place. In this way, this small expansion will help you, because I have collected some of the websites that our domestic netizens prefer and some practical websites, in this way, you can browse the
Jon von Tetzchner, CEO of Opera Software, said this week that Microsoft's IE8 browser will continue to undermine network standards. This makes it a waste of time and money to update websites for IE 6 and IE 7. This also means that Microsoft continues to exert improper influences and damages on the network.
Over the years, Microsoft has established its own network standards with its own IE browser engine. This forces website designers to build a brows
Recently, AptiQuant, a psychological testing company, conducted a study on IQ and browser selection to find out the relationship between IQ and the browser he selected. The results show that people with lower IQ are more inclined to continue using IE6, and opera users have the highest IQ. The top four in the IQ list are opera, Camino, ie with a chrome frame and Safari users. Chrome users received 5th users
select| Control | Problem 1. Both Mozilla and opera do not support this font, and getting rid of the DTD is ineffective. The test is displayed as Arial font under Mozilla Firefox1.5, Opera9.0. and special symbols are supported.
Such as:
Can be opened in different browsers, you can see the difference, the previous webdings fonts are not commonly used to find this problem, so it is better to do these pictures later.
2. Option to add select Controls in
It is difficult to write scripts for similarities and differences on IE, Firefox, and Opera pages. Pay attention to compatibility between multiple browsers. 1.doc ument. formName. item ("itemName ")
Description: You can use document. formName. item ("itemName") or document. formName. elements ["elementName"]; In Firefox, only document. formName. elements ["elementName"].
Solution: Use document. formName. elements ["elementName"].
2. Collection class O
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.