Previous Message
Next Message

Re: [css-d] CSS Hack

Sent by Keith Higgs on 21 February 2002 16:04


Actually, there are multiple styles of comment delimiters available 
depending upon the language.

In Perl you have single line comments that begin with "#"
This convention has been adopted by MS for use in batch files.

In Javascript, and in CSS a single line comment begins with "//"
Likewise, you can have a multi-line comment (even if it really does only 
use one line) that starts with "/*" and ends with "*/"

/*** ---------
**  Traditional C Style Comments
**  are often entered using the
**  "stars-and-bars syntax
**  demonstrated here
**/

Keith

At 03:58 PM 2/21/2002, jeff kiesel wrote:
>what is the "/" character for then?  i thought
>comments were "/* */" ...
>
>
>--- Keith Higgs [EMAIL-REMOVED]> wrote:
> > The real irony here, folks, is that the "/"
> > character is sometimes called a
> > "hack." ;-)
> >
> > At 03:20 PM 2/21/2002, you wrote:
> > >.fullName {
> > >         border-bottom: solid rgb(51, 89, 142) 3px;
> > >         font-size:1em;
> > >         position:absolute;
> > >         left:12em;
> > >         top:1.1em;
> > >//      left:11em;
> > >//      top:2.5em;
> > >}
> > >
> > >IE 6.0 Win will use the values of 11em for left:
> > and 2.5em for top.
> > >Opera 6 Win and NN 6.2 Win will use the values of
> > 12em for left: and 1.1em
> > >for top.
> >
> > D. Keith Higgs. Email: [EMAIL-REMOVED],
> > [EMAIL-REMOVED]
> > Case Western Reserve University, Webmaster -
> > University Library
> > More Info:
> > http://www.cwru.edu/UL/pershomepages/K_Higgs.html
> > "'C' is for Cookie, that's good enough for me."
> >
> > _______________________________________________
> > css-discuss [EMAIL-REMOVED]]
> > http://two.pairlist.net/mailman/listinfo/css-discuss
> > Sponsored by www.westciv.com - CSS resources |
> > software | learning
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Sports - Coverage of the 2002 Olympic Games
>http://sports.yahoo.com

D. Keith Higgs. Email: [EMAIL-REMOVED], [EMAIL-REMOVED]
Case Western Reserve University, Webmaster - University Library
More Info: http://www.cwru.edu/UL/pershomepages/K_Higgs.html
"'C' is for Cookie, that's good enough for me."
Previous Message
Next Message

Message thread: