General use of all browsers (IE6 IE7 FF mainly used in the market)Height: 100px;Dedicated for IE6_ Height: 100px;Dedicated for IE6* Height: 100px;Dedicated for IE7* + Height: 100px;Share IE7 and FFHeight: 100px! Important;I. CSS compatibilityThe
To ensure that the CSS effect is compatible with IE and Firefox,RecommendationAs follows:
1: Use Margin as few as possible and use padding to set the distance. margin is too unstable,
(Try this one when you encounter an inexplicable problem. Set
I. Framework The page framework is basically "Header", "subject", and "tail ". However, for some pages such as Tudou.com, a "menu" should also be added under the "Header" due to layout requirements ".
Ii. layout (# ID indicates the page element
HTML and CSS are the most commonly used languages on two web pages. Although it may not be the most advanced form of web development, every website established in the last decade uses these two languages. Needless to say, they have many things to
The rel adequacy of css format:
The rel attribute defines the relationship between connected files and html documents. Rel = stylesheet specifies a fixed or preferred style while rel = "alternate stylesheet" defines an interactive style. Fixed
When css is used to declare styles for html documents, generally (that is, the developer and user agent-browser-are considered only, the final embodiment of the page style is the final cooperation result between the style written by the developer
Friends who play WEB refactoring believe that they all share the same annoyance, that is, because of the different browser versions and different interpretations of some elements in CSS, they certainly encounter the same problem, I also collected
1. Element selector: It is often an HTML element or an element defined in XML. For example:
H1 {color: red;}/* element selector */h2 {font: normal 12px/16px "Courier New", Arial;}/* css keywords are separated by spaces, only the font size in the
In the past two days, I have just written several methods for loading CSS in XHTML. The external reference CSS is divided into two methods: link and @ import.
Essentially, both methods are used to load CSS files, but there are still slight
1. IE7, Firefox, and Opera all support CSS {position: fixed}, so it is easy to implement.
But there is a small problem here. Today, make a div in the lower right, and set the css style to {position: fixed; right: 0px; bottom: 0px ;}, how can I
Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd> the drop-down menu of pure CSS supports IE6 IE7 Firefox
XHTML/CSS Standard tutorial technical article FAQs layout tutorial CSS menu browser compatibility scroll bar
When I started to learn about web page design, it was a table layout. At first, I used ps to prepare the website and slice it. Although it is still in use, I should take a closer look at it, most websites have similar characteristics. One is not
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