Click here to Skip to main content
14,328,194 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Thought of the Day Pin
Kschuler20-Oct-17 7:36
memberKschuler20-Oct-17 7:36 
GeneralRe: Thought of the Day Pin
DerekT-P22-Oct-17 1:58
professionalDerekT-P22-Oct-17 1:58 
GeneralIrony... Pin
Richard Deeming20-Oct-17 4:24
mveRichard Deeming20-Oct-17 4:24 
GeneralRe: Irony... Pin
kmoorevs20-Oct-17 4:42
memberkmoorevs20-Oct-17 4:42 
GeneralRe: Irony... Pin
Richard Deeming20-Oct-17 4:46
mveRichard Deeming20-Oct-17 4:46 
GeneralRe: Irony... Pin
Eddy Vluggen20-Oct-17 6:05
mveEddy Vluggen20-Oct-17 6:05 
GeneralRe: Irony... Pin
Richard Deeming20-Oct-17 6:13
mveRichard Deeming20-Oct-17 6:13 
Generaldo not start CSS with a comment? Pin
raddevus20-Oct-17 3:23
mvaraddevus20-Oct-17 3:23 
I was just digging through some of the HTML/CSS from dotnet blogengine and found this:

p { }
/* DO NOT START CSS WITH A COMMENT! */

/*[ Star rater ]*/
.rating { margin-bottom: 10px; }
.rating p { display: inline; position: relative; top: 14px; left: 55px; }
.star-rating { position: relative; width: 125px; height: 25px; overflow: hidden; list-style: none; margin: 0; padding: 0; background-position:

So the dev added a empty p{} element and then the comment.
This is not tech question but just an interesting archaeological dig.

Isn't that weird? I've never seen it before.
Is this something from a bygone era of CSS / old browsers?
GeneralRe: do not start CSS with a comment? Pin
Jeremy Falcon20-Oct-17 6:12
professionalJeremy Falcon20-Oct-17 6:12 
GeneralRe: do not start CSS with a comment? Pin
raddevus20-Oct-17 7:54
mvaraddevus20-Oct-17 7:54 
GeneralRe: do not start CSS with a comment? Pin
Jeremy Falcon20-Oct-17 6:30
professionalJeremy Falcon20-Oct-17 6:30 
GeneralRe: do not start CSS with a comment? Pin
raddevus20-Oct-17 7:58
mvaraddevus20-Oct-17 7:58 
GeneralRe: do not start CSS with a comment? Pin
Jeremy Falcon20-Oct-17 8:20
professionalJeremy Falcon20-Oct-17 8:20 
GeneralUnexpectedly good results. A pleasant surprise for once Pin
Phil J Pearson20-Oct-17 3:06
memberPhil J Pearson20-Oct-17 3:06 
GeneralRe: Unexpectedly good results. A pleasant surprise for once Pin
Maximilien20-Oct-17 5:49
memberMaximilien20-Oct-17 5:49 
QuestionWould you give cash to this fellow? Pin
Cornelius Henning20-Oct-17 2:26
professionalCornelius Henning20-Oct-17 2:26 
AnswerRe: Would you give cash to this fellow? PinPopular
Nelek20-Oct-17 2:32
protectorNelek20-Oct-17 2:32 
GeneralRe: Would you give cash to this fellow? Pin
Cornelius Henning20-Oct-17 2:45
professionalCornelius Henning20-Oct-17 2:45 
GeneralRe: Would you give cash to this fellow? Pin
Dan Neely20-Oct-17 3:02
memberDan Neely20-Oct-17 3:02 
GeneralRe: Would you give cash to this fellow? Pin
Nelek20-Oct-17 3:09
protectorNelek20-Oct-17 3:09 
AnswerRe: Would you give cash to this fellow? Pin
Tim Carmichael20-Oct-17 2:33
memberTim Carmichael20-Oct-17 2:33 
AnswerRe: Would you give cash to this fellow? Pin
Johnny J.20-Oct-17 2:34
professionalJohnny J.20-Oct-17 2:34 
AnswerRe: Would you give cash to this fellow? Pin
Pete O'Hanlon20-Oct-17 2:35
protectorPete O'Hanlon20-Oct-17 2:35 
GeneralRe: Would you give cash to this fellow? Pin
Slacker00720-Oct-17 2:43
professionalSlacker00720-Oct-17 2:43 
GeneralRe: Would you give cash to this fellow? Pin
Nelek20-Oct-17 2:52
protectorNelek20-Oct-17 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.