;} Text-align: center of the first body. The rule defines that all the elements of the body in ie5/win are centered (other browsers only center the text), and the second text-align: left; is to place the text in # warp to the left. 15. Import and hide CSSBecause the browser of the old version does not support CSS, a common practice is to use the @ import technique to hide CSS. For example: @ Import url(main.css ); However, this method does not work for ie4, which makes me a headache for a wh
between log_kern, priority, and printk.If klogd is not started, the message will not be read unless you use dmesg or read/proc/kmsgIf you do not like Syslogd, you can configure klogd to allow him to directly write information to the file. Or klogd is not started. As mentioned above, send the information to another dedicated console, or open a separate terminal to read/proc/kmsg.6. driver can implement it's own/proc or/sys files to expose a lot of driver Internals to the user space. It's better
Next heavyweight configuration command in Linux: configuration of global variables in cdpathAuthor: Yu Chao Email: yuchao86@gmail.com
The following is a translation based on the book linix 101 hacks,I hope you will give me more comments. If you have a better way, please post your comments or send me an email,
If you often use the CD command to a sub-directory or a special parent directory, you can set the global variable cdpathSpecify the sub-dire
display this definition. We use a very useful technique to solve this problem: Use the text-align attribute. Like this:Body {Text-align: center;}# Wrap {Width: 760px;/* change the width of your Layer */Margin: 0 auto;Text-align: left;}The text-align: center of the first body. The rule defines that all the elements of the body in IE5/Win are centered (other browsers only center the text), and the second text-align: left; indicates# The text in warp is left.
15. Import and hide CSS
Reference cont
Article Title: Use hdparm in Linux to optimize hard drive performance. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The following content mainly refers to the hdparm in Linux Server Hacks to fine-tune the IDE drive parameters.Below are some tests I have made on my own machine.
By default, the Linux system we use
Reference URL:http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/reusing-djangos-filter_horizontal/http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/I want to think of east, not so complex as described above, is to be in the user operation, you can calmly choose different options, without worrying about what has been leaked.According to the above document, my implementation is as follows:
.
The section about Using PHP from the command line in the PHP manual helps you understand how to run scripts from cron.
Stay tuned to developerWorks Technical events and webcast.
Learn about upcoming conferences, exhibitions, network broadcasts and other activities around the world. IBM open source developers can learn about the latest technological developments through these activities.
Visit the developerWorks open-source technology area to get a wide range of how-to information, tools, a
to upload and download files with Chinese names.
In fact, there are still better solutions to completely break away from the system, so you don't have to consider the encoding of the system. You can generate a sequence with only letters and numbers as the file name, and store the original Chinese name in the database. in this way, calling move_uploaded_file () will not cause problems, during the download, you only need to change the file name to the original name with Chinese characters. The d
This time for you to bring the array and XML files to each other, the array and XML files to convert each other considerations are what, the following is the actual case, take a look.
Recently paid, the server returned is an XML file, so you need to convert an array, it will be easy to operate, well, not much to say, directly on the code:
1. XML-to-array
/** * Convert XML to array * @param string $xml XML string or XML file name * @param bool $isfile whether the XML file name was passed in @
source code development project, which can be downloaded or obtained through a DVD.
Discussion
DeveloperWorks PHP Developer Forum provides a place for all PHP developers to discuss technical issues. If you have questions about PHP scripts, functions, syntax, variables, debugging, and other topics, you can raise them here.
Join the developerWorks community by participating in the developerWorks blog.
About the Author
Jack D. Herrington is a senior software engineer with over 20 years of ex
If you were front end coder You must know how important was to make cross browses, valid CSS and XHTML code. And also must know how much time we is spending in all those hacks and fixes for various browsers. I ' ve written about some of them earlier on PNG transparency issues, Yellow fields in Web Form, Vertical align div etc.
Here is the list of ten hand picked CSS hacks and tricks which can help you in y
architecture understanding is interesting to readHigh-performance MySQL (2nd edition)-a classic book for DBAs and Developers! Recommended!Deep understanding of MySQL core technology--a glimpse into how MySQL works inside"MySQL Technology insider: InnoDB Storage Engine"--the best book to analyze InnoDB engine at the moment# Linux Management:The Linux System Management Technical Handbook desk must have a reference book."Brother Bird's Linux private Dishes" good introductory book."Linux 101
Recently, HTML snippets like this have often been seen, and many front-end developers should be familiar with:1 2 3 4 This code contains conditional comments that, depending on the browser, selectively add (or not add) a class attribute to the 1. foo {color:red;}2. IE6. foo {color:yellow;}3. IE7. foo {color:blue;}Further, we can avoid CSS hack similar to this:1/***** selector (Selector) Hacks ******/2. foo {color:red;}3 * HTML. foo {color:yellow;}4 *:
The optimization for IE
Sometimes you need to define some extraordinary rules for IE bugs. There are too many CSS tutorial tips (hacks), and I use only two of them, and whether or not Microsoft is better at supporting CSS in the upcoming IE7 beta, both of these methods are the safest.
1, the method of annotation
(a) to hide a CSS definition in IE, you can use the selector (child-selector):
Html>body p {
/* Definition Content * *
}
(b) The fo
Original address: http://www.alistapart.com/articles/taking-advantage-of-html5-and-css3-with-modernizr/Main translation Address: http://www.osmn00.com/translation/221.htmlReproduced please respect the original author and translator Labor, with the above information, thank you for your cooperation ~--------------------Split Line, here's the body--------------------10 years ago, only the most sophisticated web designers would use CSS for the layout and grooming of Web pages. The browser's support
Componentized CSS-manage your entire site CSS files, css-css
Why split a style file?
It is easier to search for style rules, simplify maintenance, and facilitate management. You can also provide specific styles for a page.
Why do I need to add a bridge style?
You can add or remove styles at any time without modifying HTML documents.
Why do we need to define two media types?
NN4@ Import is not supported, so the Bridge Style cannot be identified.
@ Import 'header.css ';
@ Import 'content.c
Create Web standards, CSS and CSS Zen garden push CSS, IE7 browser market share of the era, because IE7 is not ideal for the standard, the current network environment, IE6 and Windows XP has been officially stopped by Microsoft, IE8 generally support the Web standard case, Web developers also need compatibility with IE7, which provides a range of solutions.
1. Before IE does not support the disappearance of web standards, we need to achieve tiered support for browsers, and we cannot use the
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.