for IE, conditional comments for specific versions:
<!--[if lt IE 7]> <style type="text/css"...... <![endif]-->
for Firefox:
@-moz-document url-prefix(){
selector{rule:value;}
}
for Webkit/Safari:
@media screen and (-webkit-min-device-pixel-ratio:0) {
.selector{rule:value;}
}
for opera:
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0){
#selector{rule:value;}
}
borders on text-input fields: give the field an position:absolute and clip it by 2px, clip: rect(2px <width-2>px 18px 2px); eg:
<input type="text" value="TESTING" style="border:0;padding:0; clip: rect(2px 78px 18px 2px);position:absolute;width:80px;background:#cf0" />
Abstract: CSS position: attribute and positioning.
CSS rules:postion: absolute; position: relative; position: static; # = some valid value top: #; left: #; bottom: #; right: #;
absolute: absolute postion with respect to the next block-level parent with a postion rule. if there is none then the body ( root of the document).
NOTE: this pulls the element out of the flow of elements, so elements which follow flow as though this element does not exist: you will see the elements which follow flow under the absolutely positioned block, and wrapping blocks will collapse
relative: relative with respect to block-level siblings or (generally) the position on the document where this element comes to live naturally based on the available space.
discoveries:
http://archivist.incutio.com/viewlist/css-discuss/23258
http://www.w3.org/TR/REC-CSS2/visudet.html#abs-non-replaced-height
typographic extensions oraphans widows line-break page-break-[after, before, inside] potentially replaced with keep rule based on element type (block/inline) and syntax: line, word, paragraph, page, strict, japanese, etc we need clipping types other than rect type needs to be rotatable rag control glyphs chosen by face letter width tracking kerning table input string + tracking (or assign default) moveto positions ....parse string - into divs by line - measure - adjust strings for more desirable rag/div width [tolerance range]