Scripsit mao:
> html,
> body {
[quoted text clipped - 4 lines]
>
> Above is a part of a CSS file I found in the Internet.
It contains a most spectacular comment. It is potentially useful for
misleading people, if the actual CSS code is later changed and the comment
is not. :-)
> I have been
> searching in the Internet to find out what does the 1st line (html,)
> mean. Can any one tell me what does it mean?
It means that you need to read a primer, a tutorial, or a book on CSS now.
It's a matter of very basic constructs in CSS, so if you needed an
explanation, you need a crash course in CSS before trying to understand
other people's CSS code (which is often much more difficult and much less
useful than writing good CSS code of your own).
In CSS, you specify that some declarations are to be applied to some
elements by listing selectors that refer to elements, using a comma as a
separator. At the simplest, a selector is just an element's name, like html
or body. Thus
html, body { something }
is equivalent to
html { something }
body { something }
(and the line break is irrelevant: it is equivalent to a space in CSS).

Signature
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
dorayme - 21 Sep 2007 23:23 GMT
> Scripsit mao:
>
[quoted text clipped - 9 lines]
> In CSS, you specify that some declarations are to be applied to some
> elements by listing selectors
No, no... OP is wanting you to tell him about the html element.
It looks so strangely ephemeral.

Signature
dorayme
Jukka K. Korpela - 22 Sep 2007 08:04 GMT
Scripsit dorayme:
> No, no... OP is wanting you to tell him about the html element.
Do you mean that OP does not know about HTML?
> It looks so strangely ephemeral.
I know what you mean, and I guess you know what I meant.

Signature
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
mao - 26 Sep 2007 05:06 GMT
> In article <5jLIi.226289$PF4.135...@reader1.news.saunalahti.fi>,
>
[quoted text clipped - 17 lines]
> --
> dorayme
Hi every one,
Here is the place where I found the CSS codes.
http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/
julian.bash - 26 Sep 2007 16:33 GMT
> > In article <5jLIi.226289$PF4.135...@reader1.news.saunalahti.fi>,
>
[quoted text clipped - 21 lines]
>
> Here is the place where I found the CSS codes.http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/
html, body { *rules* }. *rules* are applied to both the html and the
body-element.
mao - 27 Sep 2007 04:31 GMT
> > > In article <5jLIi.226289$PF4.135...@reader1.news.saunalahti.fi>,
>
[quoted text clipped - 26 lines]
>
> - Show quoted text -
Thanks for your reply.
Gus Richter - 27 Sep 2007 07:09 GMT
>>> In article <5jLIi.226289$PF4.135...@reader1.news.saunalahti.fi>,
>>>> Scripsit mao:
[quoted text clipped - 17 lines]
> html, body { *rules* }. *rules* are applied to both the html and the
> body-element.
That should be: html, body { *declaration(s)* }
The whole thing is a *rule* (selector followed by a declaration block).
<http://www.w3.org/TR/CSS21/syndata.html#rule-sets>
Nothing wrong with what you were trying to say about grouping selectors.
Ref: <http://www.w3.org/TR/CSS21/selector.html#grouping>

Signature
Gus