CSS element Positioning
1. position:static| No positioningPosition:static is the default value for all element positioning, usually not noted, unless there is a need to cancel the inheritance of other positioning
Example#div-1 {position:static;}
2.
How to center the DIV
The main style definitions are as follows:
body {text-align:center;}#center {Margin-right:auto; Margin-left:auto; }Description
The text-align:center is defined first in the parent element, which means that the content within
With the accumulation of time here will be added or modified, I hope that the following things to the later standard learners will be some help, or useless.
The main content is the difference between IE and Mozilla and easy to overlook the details,
Module Center layout without float _css/html
The most common practical layout form: Upper, middle left, middle right, bottom four modules, width 760px, the overall page center.
Structure code, top left right foot four modules are all independent,
IE5 and its later versions support the use of expression in CSS to correlate CSS properties with Javas cript expressions, where CSS properties can be intrinsic to an element or custom properties. That is, the CSS property can be followed by a javas
Author: Akhun 2006-2-10 9:38:04
Original: Http://www.w3.org/Consortium/technology
Original Author: Akhun translation:Legend Description
The technology architecture diagram depicts a two-tier model: the World Wide Web architecture (labeled "One Web")
Author: Akhun 2005-5-28 16:05:36
Original: http://usabletype.com/articles/2004/how-and-when-to-use-sifr/
Original Author: Andrew Hume
Translation: Akhun
Before analyzing sIFR, let's take a quick look at what sIFR is and how it works.
1, different interpretations of the box interpreter.
#box {width:600px;//for ie6.0-w\idth:500px;//for ff+ie6.0} #box {width:600px!important//for ff width:600px;//for ff+ie 6.0 width/**/:500px; For ie6.0-}2, hide css in IE, use
This article details how to use CSS to easily control the object's "display" and "Hide" attribute principle, make a tree-like directory, using CSS to make such a tree-like directory, the method is simple, the code is relatively small, so write it
Author: Akhun 2005-4-15 20:45:18
The original: What's the best by Mark up the Title of a Document?
Description: This article is a chapter in the book "Web Standards solutions:the Markup and Style Handbook". ISBN: isbn:1590593812. We will translate
Comparison with the valignVertical-align's explanation in the Light Rain Handbook is to set or retrieve the vertical alignment of the object's contents. What I don't really understand is that the vertical-align is in the category
CSS itself does not directly provide the ability to transform the HTML link underline, but as long as the use of some tricks, we can still let the monotonous web links underline colorful.
First, the basic principle
First, the first step in
CSS code:
. list{margin:0px 10px 20px; text-align:left;}. List ul{list-style-type:none; margin:0px; padding:0px;}. List li{Background:url (/news/images/line.gif) Repeat-x bottom; /* Dashed line at the bottom of the list */width:100%; }.list li
If you use the traditional method to make this flip menu, at least the picture needs to be cut into 10 starling by 螶 s code, in the Picture button and then add the behavior, now fully implemented with CSS, the picture as long as one, see.
CSS
This article describes in detail the theme of dynamic control of text properties with CSS, using CSS property values to dynamically change the characteristics of the text to define a variety of property values, and then use an event to trigger, once
Original: http://3rgb.com, Author: Lemon Garden Master
Reprint please retain this information
FCKeditor has now reached 2.3.1 version, for the domestic web developers, also basically have been "caught on know how much", many people will put it into
The more recently discovered that the more people use div+css this is called to represent XHTML. This is fundamentally incorrect!
One is that CSS is a technique called style sheets (stylesheet). Others call it cascading style sheets (cascading
When browsing the Web page, we can sometimes see that some page scrollbar color is not the system default, but rather beautiful red or other colors, in fact, this is the code to add code between the page to achieve, specifically what code?
The page
The Web Standard recommends the following font definition methods:
Body {font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, song Body, Sans-serif;}
* Fonts are selected in the order listed. If the user's computer contains Lucida
CSS layout, the unknown size of the vertical center of the picture, has always been a headache problem, standard browser as long as the line-height and picture of the vertical-align:middle; A few months ago on the foreign site saw a solution to IE,
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.