In webpage design, CSS is often used to control hyperlink styles. However, we must pay attention to the order of tags. Otherwise, the expected results may fail.
When I made a webpage, I arranged the labels in the following order:
A: link
Difference between IE and Firefox
FF sets text-align: center in the body. The DIV in the body is left aligned by default.
Iesets text-align: center in the body. Not only is text centered, but DIV in the body is also centered.
For the text in the
In general, it is more convenient to specify the vertical and horizontal center of the DIV with a height, but it is a little troublesome if the height is not fixed. I tried it and achieved absolute center through two auxiliary Divs, compatible with
Layout attributes
In the previous HTML, the positions of elements can only be arranged in sequence. In CSS, you can locate elements more accurately. Netscape once proposed layer tag, which is good for precise layout, but not
1. Differences between CSS parsing in IE and Firefox
This is some of my experience in use. I hope you can continue with it.
High Resolution
IE: the actual height will be used even if the height of the image content is defined based on the height
In line with the principle of easy to use, easy to maintain! Improved the original CSS rounded corner code!
Can be generated, rounded rectangle and rounded border!
How to use it! See the code!
As long as the DIV class is defined as roundeside
The
This technique has been widely used in front-end development of current pages. Even Yui sets it as the first criterion "make fewer HTTP requests" in "14 guidelines for improving webpage efficiency ", the importance of this technology is also the
Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan-Ma
6. CSS attributes in dw4The CSS style of dreamweaver4 contains all CSS 1 attributes defined by W3C standards. dreamweaver4 classifies these attributes into type, background, and block attributes) box, border, list, positioning,
How to achieve the rounded corner effect through the background:
CSS rounded corner effect corner box without images & nbsp;
Demo address: http://www.aspor.cn/upfile/css-table-1.html
Implement the border circle Effect
CSS
Original article:Http://www.ndesign-studio.com/blog/mac/css-dock-menu
From:Http://www.diglog.com/story_technology_design_18907/
If you are a Big Mac fan, you will love this CSS dock menu that I designed. it is using jquery JavaScript library and
What is float?
Float is the positioning attribute in CSS control. We often see images surrounded by text in traditional printed products. This method is generally called "Text wrap ". In the web design, the CSSThe page element of the float attribute
CSS compatibility with browsers is sometimes a headache. Maybe when you understand the skills and principles, you will feel that it is not difficult to collect IE7 from the Internet, 6. The compatibility processing skills with fireofx are sorted out.
I have read an article written by analysts to introduce the security risks of cross-site scripting.I have not read this question carefully. At present, this kind of question is often published on some security sites. I just saw this article.,With
During this time, I checked back the previous CSS tutorials and found that my CSS level was not greatly improved .... depressing .... so let's create an instance, and we'll do it ourselves. I have not yet thought about how to scale the service. Here
1. Reset
Photo by redux
True,Always use a resetWhether using Eric Meyer Reset or YUIReset, or your own custom reset, must be used.
This can simply remove the margin and padding attributes of all elements:
html, body, div, h1, h2, h3, h4, h5, h6, ul,
The following uses the div tag element as an example.
How to center a DIV, vertical center a div, and horizontal center a div. The main style definition is as follows:Body {TEXT-ALIGN: center ;}# Center {MARGIN-RIGHT: auto; MARGIN-LEFT: auto
Recently, many of my friends have asked me about the compatibility of my browser. I don't know where to start. Write it by yourself, but not necessarily. Baidu finds a compatibility book, which is basically compatible with two styles. See the most!
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