CSS development manual
Related Tags:css manuals css templates CSS effect css style css download css style sheet css button css fillet css learning css vertical middling css games css menu css float xhtml css CSS Font CSS Border css Margin css Padding CSS List CSS Table css background css fonts css borders what is the css css editor css hack Baidu space css css transparent css clear css Chinese manual css filter css rolling css navigation css li css dotted line css spaced css files css form css links css table css shadow css fonts css drop-down menu css position css css navigation of the book css language dreamweaver css asp css css attributes css example css Notes css inheritance css padding css gradual css Auto-trip xhtml css css grammar css custom templates css input css middling css important css ul css overflow css entry css link css positioning proficient css background image css expression css space css tab css map css display css margindiv css bold css zen garden css authoritative guides css css hover css mandatory for firms
Based on articles:
A choice of three styles attribute selector p (color: red;) category selector. P (color: red;) id selector # p (color: red;) 2. TransparentBackground: transparent; prevent definition covering Background Third, Netscape4.X (IE/WINDOWS4.0 previous version) wrong transparent background understanding Background: inhrit in netscape4.x under transparent background will be understood as black Green 4, the default Font options: body () in order Call The default font different platforms 5, how to solve the browser does not support the use of the CSS group selector such as: p, td, ul, ol, li, dl, dt, dd (font-size: small;) 6, the use of netscape4 friendly Rules Body () p, td, ul, ol, li, dl, dt, dd (font-size: small;) 7, methods Heavy details rules: Body () p, td, ul, ol, li, dl , dt, dd (font-size: small;) p () 8.30, content (derivative) selector Li strong (font-style: italic; font-weight: normal) For example: strong (color: red;) h2 (color : red;) strong h2 (color: blue;) For example: # sidebar (color: red # sidebar p) (color: blue;) for example:. fancy (color: red;). fancy p (color: blue;) / li.fancy (color: black;)CSS embedded
First, outreach style sheet: <link rel = "StyleSheet" href = "/ css / basic.css" type = "text / css" media = "all"> <style type = "text / css" media = "all > @ import url ( "/ Styles / mystylesheet.css ");</ style> Note: @ import for the use of the following IE4.0 browser shielding 2, embedded style sheet: <head> <style type =" text / css "> <! --Body (color: red;) - -> </ style> </ head> Note: To IE3 visited site, we can use the embedded style sheet (proposed in the use of the pages After the success of the shear outreach to the style sheet)CSS layout application mixed
Www.i3forum.com a Margin (from the box) Padding (from the border) margin attribute order: on the lower left Right Padding attribute order: left right on the margin: 25px 0 25px 0; initials: margin: 25px 0; II Display Showing attribute (1), none Display Properties (hide). alt (display: none;) <span class="alt"> Content List Part </ span> (2), Display attribute block (block / regional) (Img display: block;) <img href="1.gif"> </ img> block-level elements: the existence of its "box", to follow behind a car back to the default of elements: the flow is part of the back not to follow Enter (3), Display Properties inline distinction block elements, the use of inline state, in accordance with the display shows that three elements, dynamic link attribute: a: link (font-weight: bold; text-decoration: none; color: # c30; background: transparent;) A: visited (font-weight: bold; text-decoration: none; color: # c30; background: transparent;) a: hover (font-weight: bold; text-decoration: underline; color: # f60; background: transparent ;) A: active (font-weight: bold; text-decoration: none; color: # f90; background: transparent;) (1) modified text attributes (text-decoration) Text-decoration: underline overline none; Underline: a link Overline underlined: a link on the line None: no connection underscore (2) Dynamic Link Attribute order (LVHA) - LoVe-HA! (3) IE / WINDOWS camouflage should avoid the use of a deceptive: active properties: a bug will connect four freezing phenomenon, how to set up a high line (line-height) Line-height: 1.5; V. How to set the location of the article (text - align) selectable attributes (left middle right) IE6/WINDOWS BUG will be wrong to the center six documents, fonts, CSS complete application Font: 13px/1.5 Georigia, "New Centeury Schoolbook," Times, serif; seven, set Limits of the pages (1) vertical-align: middle; equivalent <td valign = "middle"> Vertical Alignment settings (2) background: none equivalent background: url (images/1.gif) repeat; 8, display equipment installed <style type="text/css" media="screen"> media properties HTML4.01 switch to the use of transitional xhtml1.0 transition Box Model, Bug and work areas CSS four areas: content, from the border, Border and the border set up in the use of CSS forms before: (width: 400px; height: 75px;) erroneous interpretations: Form area = 400 px; height: 75px; actually set up the CSS form : Width: 400px height: 75px Content for the entire contents of the box area: Content + padding border * * 2 + 2 Oprea friendly rules (Box box model) IE on the blank Bug IE6/Windows Bug floating on the solution: the use of JavaScript id: content If (document.all & window.attachEvent) Windows.attachEvent ( "onload" fixWinIE); Fuction fixWinIE () (If (doucument.all.cotent. offsetHeight) (Doucument.all.content.style.display = "block";)) The embedded Flash Bug: Flash blank failure (IE / WIN 5,5.5,6 Version) Keyword Fahrner: (IE5.x/Winodws provide pseudo-keywords) Distinction between alt attributes and attribute title Improve accessibility (WAI and 508 articles) Bobby's visit testing Non-users with a choice of mouse Onkeypress for non-users on the mouse equivalent onclick The user can not use JavaScript Tabindex attributes connected to provide the quickest way to attribute Regional display and hidden effect If you need an Element of the page is not visible but still occupy its space Dynamic Menu (drop-down and start) Javascritp script does not support the browser, how to achieve normal browser
Font-size: small; / * be nice to opera * /)




