English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

/*
CSS Profile Assets
Notes:
I attach these DIV elements to body with com.adobe.htmltempalte.loadCondAssets
Then I generate a profile with com.adobe.cssprofile
$Revision: 1.5 $
*/
#testelem0{position:absolute;left:-9999px;top:0;height:1px;width:1px;visibility:hidden;overflow:hidden;font:normal 1px/1 monospace}
#testelem1{height:2px}
#testelem2{width:2px;height:10px;padding:0 1px}
#testelem3:after{content:".";display:block;height: 5px;clear: both}
#testelem4:before{content:".";display:block;height: 4px;clear: both}
#testelem4{float: left}
*[id="testelem1"]{cursor/**/:crosshair}
#testelem1>*{overflow:hidden}
#testelem1 div+div{clear: right}
#testelem1 *:first-child{direction:rtl}
#testelem1 *:last-child{direction:rtl}

2007-01-29 07:57:17 · 3 answers · asked by katie k 1 in Computers & Internet Programming & Design

3 answers

You've just listed a copy of what looks like a pretty long CSS stylesheet, which is just a set of specifications that define how named elements in web page code should appear rendered in the browser.

Items prefixed with a "." are classes of elements throughout the page. Items prefixed with a "#" are ID's of specific elements. Items with no prefix apply to all elements of that type. The specific style information is formatted as a key-value pair, delimited by semicolons, and wrapped by the { } braces. Example:

#header { background-color: #FFFFFF; }

That specifies that the HTML element with an ID of "header" should have a white (FFFFFF) background.

2007-01-29 08:09:41 · answer #1 · answered by Rex M 6 · 0 1

The text between this /* and this \* are CSS comments

The rest are CSS rules. Example:

#testelem1 is an ID selector. That means that somewhere in the HTML code of the page, there is an element with an ID attribute of "testelem1" -- and this code here telling that how to display on the page.

an example would be



{height:2px} - this is called a declaration and it has two parts

height - is the property - the height of the element in question
2px - is the value - the height of the element is 2 pixels

2007-01-29 16:10:31 · answer #2 · answered by d3v10u5b0y 6 · 0 1

well that would be css! that is a code so that web developers can do fancy stuff with there website.

2007-01-29 16:16:44 · answer #3 · answered by Grape Shield 4 · 0 2

fedest.com, questions and answers